Commit de197250 authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Remove vtkGhostType array properly

If the user unselected the vtkGhostType array it was still getting
passed through the vtkPassSelectedArrays filter. This change fixes
that issue.
parent d3fe1781
......@@ -108,7 +108,7 @@ int vtkPassSelectedArrays::RequestData(
if (selection->ArrayIsEnabled(inarray->GetName()) ||
/** ghost array is passed unless explicitly disabled **/
(strcmp(inarray->GetName(), vtkDataSetAttributes::GhostArrayName()) == 0 &&
selection->ArrayExists(vtkDataSetAttributes::GhostArrayName()) == 0))
selection->ArrayExists(vtkDataSetAttributes::GhostArrayName()) == 1))
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