mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Don't emit material warnings without faces
This commit is contained in:
@@ -1770,7 +1770,7 @@ IfcGeom::BRepElement<P, PP>* 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user