diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 7d06ac4d37..57a89e32c0 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -1770,7 +1770,7 @@ IfcGeom::BRepElement
* IfcGeom::Kernel::create_brep_for_representation_and } else { bool some_items_without_style = false; for (IfcGeom::IfcRepresentationShapeItems::iterator it = shapes.begin(); it != shapes.end(); ++it) { - if (!it->hasStyle()) { + if (!it->hasStyle() && count(it->Shape(), TopAbs_FACE)) { some_items_without_style = true; break; }