X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=samples%2Fmfc%2Fstandard%2F01_Geometry%2Fsrc%2FGeometryDoc.cpp;h=0a70fb4aca4561a0c2136f60eb5d1abf6e86084d;hp=0376c6bfc87c7b23f772626af8e61d3425954448;hb=9a148b08df103b34293218ec9432e263a6cf2b59;hpb=1aa6b1c9e2fd851d72407bebdf3d923a2666912b diff --git a/samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp b/samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp index 0376c6bfc8..0a70fb4aca 100755 --- a/samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp +++ b/samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp @@ -1304,7 +1304,7 @@ void CGeometryDoc::simplify(const TopoDS_Shape& aShape) //and all the polygons on the triangulations of the edges BRepTools::Clean(aShape); // adds a triangulation of the shape aShape with the deflection aDeflection - BRepMesh::Mesh(aShape,aDeflection); + BRepMesh_IncrementalMesh(aShape,aDeflection); Standard_Integer aIndex = 1, nbNodes = 0;