mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +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) {
|
if (styles->size() == 1) {
|
||||||
auto s = map(*styles->begin());
|
auto s = map(*styles->begin());
|
||||||
if (s) {
|
if (s) {
|
||||||
|
((taxonomy::style*) s)->name = material->Name();
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user