0033049: Command 'tclean -geom' does not remove all geometric objects from the shape
[occt.git] / src / BRepTools / BRepTools.cxx
index de3716b..7f2c71c 100644 (file)
@@ -893,6 +893,8 @@ void BRepTools::CleanGeometry(const TopoDS_Shape& theShape)
     aBuilder.UpdateEdge(anEdge, Handle(Geom_Curve)(),
       TopLoc_Location(), BRep_Tool::Tolerance(anEdge));
   }
+
+  RemoveUnusedPCurves(theShape);
 }