mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Minor fix after a47c57c
This commit is contained in:
@@ -432,7 +432,7 @@ class Style(blenderbim.core.tool.Style):
|
||||
new.ifc_definition_id = style.id()
|
||||
new.name = style.Name or "Unnamed"
|
||||
new.ifc_class = style.is_a()
|
||||
for surface_style in getattr(style, "Styles", []):
|
||||
for surface_style in getattr(style, "Styles", []) or []:
|
||||
new2 = new.style_classes.add()
|
||||
new2.name = surface_style.is_a()
|
||||
if surface_style.is_a("IfcSurfaceStyleShading"):
|
||||
|
||||
Reference in New Issue
Block a user