mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
This commit is contained in:
committed by
Andrew Heather
parent
ae94509f42
commit
693afb5408
@ -384,9 +384,11 @@ bool Foam::surfaceWriter::expire()
|
|||||||
|
|
||||||
upToDate_ = false;
|
upToDate_ = false;
|
||||||
wroteGeom_ = false;
|
wroteGeom_ = false;
|
||||||
nFields_ = 0;
|
|
||||||
merged_.clear();
|
merged_.clear();
|
||||||
|
|
||||||
|
// Field count (nFields_) is a different type of accounting
|
||||||
|
// and is unaffected by geometry changes
|
||||||
|
|
||||||
return changed;
|
return changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user