Commit 2a3c6f07 authored by Ken Martin's avatar Ken Martin Committed by Kitware Robot

Merge topic 'fix_xml_error'

de5bdcb7 do not produce error message during abort
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
Merge-request: !1252
parents 9376b08e de5bdcb7
......@@ -442,11 +442,14 @@ int vtkXMLDataReader::ReadPieceData()
// Read the array.
if (!this->ReadArrayForPoints(eNested, pointData->GetAbstractArray(a++)))
{
if (!this->AbortExecute)
{
vtkErrorMacro("Cannot read point data array \""
<< pointData->GetArray(a-1)->GetName() << "\" from "
<< ePointData->GetName() << " in piece " << this->Piece
<< ". The data array in the element may be too short.");
}
return 0;
}
}
......
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