From 97b6f444d108956d47d3cdf02e008f3cbcb597e0 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 19 Jan 2015 16:02:34 +0000 Subject: [PATCH] Use BRepMesh_IncrementalMesh rather than BRepMesh::Mesh. Thanks lorinma. --- src/ifcgeom/IfcGeomFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 9acee5abb7..9568e46918 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -89,7 +89,7 @@ #include -#include +#include #include #include @@ -568,7 +568,7 @@ double IfcGeom::Kernel::getValue(GeomValue var) { } IfcSchema::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntityList::ptr es) { - BRepMesh::Mesh(shape, deflection); + BRepMesh_IncrementalMesh(shape, deflection); IfcSchema::IfcFace::list::ptr faces (new IfcSchema::IfcFace::list);