Lookup styles on (arbitrarily) more taxonomy kinds

This commit is contained in:
Thomas Krijnen
2024-07-21 11:56:02 +02:00
parent cc0760d505
commit 2b3035ec02
+1 -1
View File
@@ -49,7 +49,7 @@ namespace geometry {
try {
if (inst->as<IfcSchema::IfcRepresentationItem>() && !inst->as<IfcSchema::IfcStyledItem>() &&
/* @todo */
(item->kind() == taxonomy::SOLID || item->kind() == taxonomy::SHELL || item->kind() == taxonomy::COLLECTION || item->kind() == taxonomy::EXTRUSION)
(item->kind() == taxonomy::SOLID || item->kind() == taxonomy::SHELL || item->kind() == taxonomy::COLLECTION || item->kind() == taxonomy::EXTRUSION || item->kind() == taxonomy::LOFT || item->kind() == taxonomy::BOOLEAN_RESULT || item->kind() == taxonomy::REVOLVE || item->kind() == taxonomy::SWEEP_ALONG_CURVE)
) {
auto style = find_style(inst->as<IfcSchema::IfcRepresentationItem>());
if (style) {