Commit a64db82c authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic 'cutter-merge-points-ug-release' into release

d747f524 For unstructured grids, enable point merging when requested
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Mathieu Westphal's avatarMathieu Westphal <mathieu.westphal@kitware.com>
Merge-request: !7660
parents 6e73ca43 d747f524
Pipeline #215524 failed with stage
......@@ -405,6 +405,9 @@ int vtkCutter::RequestData(
newPlane->Push(-d + this->GetValue(0));
linear3DCutter->SetPlane(newPlane);
bool mergePoints =
this->GetLocator() && !this->GetLocator()->IsA("vtkNonMergingPointLocator");
linear3DCutter->SetMergePoints(mergePoints);
linear3DCutter->SetOutputPointsPrecision(this->GetOutputPointsPrecision());
linear3DCutter->SetInputArrayToProcess(0, this->GetInputArrayInformation(0));
vtkNew<vtkEventForwarderCommand> progressForwarder;
......
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