mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +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 {
|
} else {
|
||||||
bool some_items_without_style = false;
|
bool some_items_without_style = false;
|
||||||
for (IfcGeom::IfcRepresentationShapeItems::iterator it = shapes.begin(); it != shapes.end(); ++it) {
|
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;
|
some_items_without_style = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user