Thomas Krijnen
2012-12-31 12:22:36 +00:00
parent 0a5ddece8e
commit 43e6d5f105
5 changed files with 80 additions and 34 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ IfcGeomObjects::IfcMesh::IfcMesh(int i, const IfcGeom::ShapeList& shapes) {
// Triangulate the shape
try {
//BRepTools::Clean(s);
BRepMesh::Mesh(s,DEFLECTION_TOLERANCE);
BRepMesh::Mesh(s, IfcGeom::GetValue(IfcGeom::GV_DEFLECTION_TOLERANCE));
} catch(...) {
Ifc::LogMessage("Error","Failed to triangulate mesh:",Ifc::EntityById(i)->entity);
continue;