Commit ce902cac authored by Franjo's avatar Franjo
Browse files

Bug fix in cleanup of duplicates

parent 6dbbaca3
......@@ -230,10 +230,15 @@ bool triSurfaceCleanupDuplicates::mergeDuplicatePoints()
newTriangles.setSize(counter);
updateTriangleLabels(newTriangleLabel);
//- update the surface
triSurfModifier(surf_).facetsAccess().transfer(newTriangles);
surf_.updateFacetsSubsets(newTriangleLabel);
surf_.clearAddressing();
surf_.clearGeometry();
return true;
}
......
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