Commit 9fcbac09 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'exodus_writer_crash'

e7f053a4

 Fix crash in exodus writer when writing datasets
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: default avatarRobert Maynard <robert.maynard@kitware.com>
Reviewed-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
Merge-request: !1626
parents 4f679659 e7f053a4
......@@ -540,6 +540,11 @@ int vtkExodusIIWriter::FlattenHierarchy (vtkDataObject* input, const char *name,
changed = true;
}
this->NewFlattenedInput.push_back (output);
if (!name)
{
// Setting an arbitary name for datasets that have not been assigned one.
name = "block";
}
this->NewFlattenedNames.push_back (name);
}
else
......
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