This commit is contained in:
CyrilWaechter
2023-04-11 22:03:26 +02:00
parent 90bfb25f41
commit e7830e3d55
@@ -825,7 +825,7 @@ class OverrideModeSetObject(bpy.types.Operator):
for obj in self.edited_objs:
if self.should_save:
bpy.ops.bim.update_representation(obj=obj.name, ifc_representation_class="")
if tool.Ifc.get_entity(obj).HasOpenings:
if getattr(tool.Ifc.get_entity(obj), "HasOpenings", False):
self.reload_representation(obj)
else:
self.reload_representation(obj)