Commit 9a44e62a authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic 'FixXMLReaderToClearSelectionArrays'

8fe92274 Clear current cell/point selection arrays in RequestInformation
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !1015
parents 7cdbfbf8 8fe92274
Pipeline #2770 running with stage
......@@ -475,6 +475,11 @@ int vtkXMLReader::RequestInformation(vtkInformation *request,
if (this->ReadXMLInformation())
{
this->InformationError = 0;
// Clear cell and point selection arrays
this->CellDataArraySelection->RemoveAllArrays();
this->PointDataArraySelection->RemoveAllArrays();
// Let the subclasses read the information they want.
int outputPort =
request->Get( vtkDemandDrivenPipeline::FROM_OUTPUT_PORT() );
......
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