From 336b07a7a296b840adf4d9bdc3446783479fdcfd 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 3027772031..f88029cc23 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -87,7 +87,7 @@ #include -#include +#include #include #include @@ -513,7 +513,7 @@ double IfcGeom::GetValue(GeomValue var) { } Ifc2x3::IfcProductDefinitionShape* IfcGeom::tesselate(TopoDS_Shape& shape, double deflection, IfcEntities es) { - BRepMesh::Mesh(shape, deflection); + BRepMesh_IncrementalMesh(shape, deflection); Ifc2x3::IfcFace::list faces (new IfcTemplatedEntityList());