mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fixed issue updating texture style for non-faceset representations
This commit is contained in:
@@ -417,7 +417,8 @@ class Style(blenderbim.core.tool.Style):
|
||||
|
||||
results = []
|
||||
for item in items:
|
||||
for uv_map in item.HasTextures or []:
|
||||
# only IfcTessellatedFaceSet has HasTextures
|
||||
for uv_map in getattr(item, "HasTextures", None) or []:
|
||||
results.append(uv_map)
|
||||
return results
|
||||
|
||||
|
||||
Reference in New Issue
Block a user