BUG: double read when updating ensight fieldsDict

This commit is contained in:
Mark Olesen
2018-07-30 16:07:49 +02:00
parent 76dcf39eab
commit 4396caaa39

View File

@ -156,7 +156,7 @@ void Foam::ensightSurfaceWriter::updateMesh
IFstream is(baseDir/"fieldsDict"); IFstream is(baseDir/"fieldsDict");
if (is.good() && dict.read(is)) if (is.good() && dict.read(is))
{ {
dict.read(is); // ... any futher actions
} }
} }