diff --git a/src/ifcgeom/schema/mapping.cpp b/src/ifcgeom/schema/mapping.cpp index f07fea6fd6..ce0db211e9 100644 --- a/src/ifcgeom/schema/mapping.cpp +++ b/src/ifcgeom/schema/mapping.cpp @@ -974,6 +974,7 @@ taxonomy::item* mapping::map_impl(const IfcSchema::IfcMaterial* material) { if (styles->size() == 1) { auto s = map(*styles->begin()); if (s) { + ((taxonomy::style*) s)->name = material->Name(); return s; } }