Commit defedb5f authored by Nathan's avatar Nathan
Browse files

Ensures the file is initialized through the first pass.

parent 2ab9c2e2
......@@ -310,7 +310,7 @@ void vtkExodusIIWriter::WriteData ()
this->RemoveGhostCells ();
// move check parameters up here and then if there's a change, new file.
if (this->WriteAllTimeSteps && !newHierarchy)
if (this->WriteAllTimeSteps && this->CurrentTimeIndex != 0 && !newHierarchy)
{
if (!this->WriteNextTimeStep ())
{
......
Markdown is supported
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