Updates will be applied - 3:30pm EDT (UTC -400). No downtime expected.

Commit 81f9644d authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fixed errors when exodus file was opened.

The problem due to the deprecation of ArraySelectionInformationHelper. That
helper ensured that the number-of-elements-per-command was set correctly on the
property when information was fetched. That being set was essential for any
dependent domains. This was no longer being set since the information helper
disappeared. So added check to vtkSMStringVectorProperty::ReadXMLElements() to
ensure that the number-of-elements-per-command is updated when a
ArraySelectionInformationHelper is detected in the XML.
parent 33eece03
......@@ -280,6 +280,13 @@ int vtkSMStringVectorProperty::ReadXMLAttributes(vtkSMProxy* proxy,
this->Internals->DefaultValues.push_back(tmp);
}
}
if (element->FindNestedElementByName("ArraySelectionInformationHelper"))
{
// since this information helper used to update the
// number-of-elements-per-command on the property everytime information was
// updated.
this->SetNumberOfElementsPerCommand(2);
}
return 1;
}
......
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