From fc5fcef0791e55c1bbb7f8d03b7b64c4d66b152c Mon Sep 17 00:00:00 2001 From: johanrd Date: Fri, 20 Nov 2020 15:45:12 +0100 Subject: [PATCH] Fix for #1119 (regression from 0984751) --- src/ifcgeom/IfcGeomShapes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index b3b54ede24..cab842798d 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -1816,7 +1816,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcPolygonalFaceSet* pfs, TopoDS_ } } - if (faces.IsEmpty() == 0) return false; + if (faces.IsEmpty()) return false; return create_solid_from_faces(faces, shape); }