Commit c969c879 authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot
Browse files

Merge topic '15755_Ability_to_write_exodus_sidesets_lost'

defedb5f

 Ensures the file is initialized through the first pass.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !1432
parents d91b4cdb defedb5f
......@@ -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