diff --git a/src/ifcgeom/IfcGeomFaces.cpp b/src/ifcgeom/IfcGeomFaces.cpp index d2cc535f2d..aab57062ad 100644 --- a/src/ifcgeom/IfcGeomFaces.cpp +++ b/src/ifcgeom/IfcGeomFaces.cpp @@ -407,7 +407,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcArbitraryProfileDefWithVoids* } ShapeFix_Shape sfs(mf.Face()); sfs.Perform(); - face = TopoDS::Face(sfs.Shape()); + face = sfs.Shape(); return true; }