diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 97db9bd92a..6461095ee0 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -1037,6 +1037,9 @@ bool IfcGeom::Kernel::convert_openings_fast(const IfcSchema::IfcProduct* entity, IfcGeom::IfcRepresentationShapeItems opening_shapes; for (IfcSchema::IfcRepresentation::list::it it2 = reps->begin(); it2 != reps->end(); ++it2) { + if (IfcParse::traverse((*it2))->as()->size()) { + continue; + } convert_shapes(*it2, opening_shapes); }