Commit 693afb54 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

BUG: surfaceWriter::expire() should not affect the expected nFields() count

- the writer nFields() is a separate type of accounting (currently
  only needed by VTK legacy) and is independent of the geometry.
parent ae94509f
......@@ -384,9 +384,11 @@ bool Foam::surfaceWriter::expire()
upToDate_ = false;
wroteGeom_ = false;
nFields_ = 0;
merged_.clear();
// Field count (nFields_) is a different type of accounting
// and is unaffected by geometry changes
return changed;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment