mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Assign material name to taxonomy::style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user