diff --git a/src/ifcgeom/schema/bind_convert_impl.i b/src/ifcgeom/schema/bind_convert_impl.i index 3a03bdae6f..0f36ca4370 100644 --- a/src/ifcgeom/schema/bind_convert_impl.i +++ b/src/ifcgeom/schema/bind_convert_impl.i @@ -9,7 +9,10 @@ if (item != nullptr) { \ item->instance = l; \ try { \ - if (l->as() && !l->as()) { \ + if (l->as() && !l->as() && \ + /* @todo */ \ + (item->kind() == taxonomy::SHELL || item->kind() == taxonomy::COLLECTION || item->kind() == taxonomy::EXTRUSION) \ + ) { \ auto style = find_style(l->as()); \ if (style) { \ ((taxonomy::geom_item*)item)->surface_style = (taxonomy::style*) map(style); \