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

Merge topic 'exodus_writer_crash'


 Fix crash in exodus writer when writing datasets
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: default avatarRobert Maynard <>
Reviewed-by: Berk Geveci's avatarBerk Geveci <>
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);
Supports Markdown
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