Commit 0bf95110 authored by Cornelis Bockemühl's avatar Cornelis Bockemühl Committed by Mathieu Westphal

Quieting ContainingCells check

parent e0a78de5
......@@ -511,8 +511,8 @@ bool vtkSMSelectionHelper::MergeSelection(
return false;
}
if (vtkSMPropertyHelper(output, "ContainingCells").GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells").GetAsInt())
if (vtkSMPropertyHelper(output, "ContainingCells", true).GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells", true).GetAsInt())
{
return false;
}
......@@ -619,8 +619,8 @@ bool vtkSMSelectionHelper::SubtractSelection(
return false;
}
if (vtkSMPropertyHelper(output, "ContainingCells").GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells").GetAsInt())
if (vtkSMPropertyHelper(output, "ContainingCells", true).GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells", true).GetAsInt())
{
return false;
}
......@@ -766,8 +766,8 @@ bool vtkSMSelectionHelper::ToggleSelection(
return false;
}
if (vtkSMPropertyHelper(output, "ContainingCells").GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells").GetAsInt())
if (vtkSMPropertyHelper(output, "ContainingCells", true).GetAsInt() !=
vtkSMPropertyHelper(input, "ContainingCells", true).GetAsInt())
{
return false;
}
......
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