Commit 3299c70d authored by Yumin Yuan's avatar Yumin Yuan
Browse files

Fixed wrongful logic for ExtractOnlyBoundaryCells in vtkExtractGeometry.

The ExtractOnlyBoundaryCells is not working properly due to some logic
errors in deciding when to extract cells if both ExtractBoundaryCells
and ExtractOnlyBoundaryCells are on. Fixed it.

Change-Id: I0574c672507ca610b1e77272d12f4e8acc3efa0c
parent 5e3c5393
......@@ -163,12 +163,6 @@ int vtkExtractGeometry::RequestData(
input->GetPoint(ptId, x);
val = this->ImplicitFunction->FunctionValue(x) * multiplier;
newScalars->SetValue(ptId, val);
if ( val < 0.0 )
newId = newPts->InsertNextPoint(x);
pointMap[ptId] = newId;
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