mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:40:59 +00:00
small fix for 9e67565
This commit is contained in:
@@ -1187,7 +1187,7 @@ class RefreshAggregate(bpy.types.Operator):
|
|||||||
selected_root_entity = tool.Ifc.get_entity(selected_root_obj)
|
selected_root_entity = tool.Ifc.get_entity(selected_root_obj)
|
||||||
|
|
||||||
if selected_root_entity.is_a("IfcElementAssembly"):
|
if selected_root_entity.is_a("IfcElementAssembly"):
|
||||||
return
|
pass
|
||||||
elif selected_root_entity.Decomposes:
|
elif selected_root_entity.Decomposes:
|
||||||
if selected_root_entity.Decomposes[0].RelatingObject.is_a("IfcElementAssembly"):
|
if selected_root_entity.Decomposes[0].RelatingObject.is_a("IfcElementAssembly"):
|
||||||
selected_root_entity = selected_root_entity.Decomposes[0].RelatingObject
|
selected_root_entity = selected_root_entity.Decomposes[0].RelatingObject
|
||||||
|
|||||||
Reference in New Issue
Block a user