mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
Fix #2964
This commit is contained in:
@@ -825,7 +825,7 @@ class OverrideModeSetObject(bpy.types.Operator):
|
|||||||
for obj in self.edited_objs:
|
for obj in self.edited_objs:
|
||||||
if self.should_save:
|
if self.should_save:
|
||||||
bpy.ops.bim.update_representation(obj=obj.name, ifc_representation_class="")
|
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)
|
self.reload_representation(obj)
|
||||||
else:
|
else:
|
||||||
self.reload_representation(obj)
|
self.reload_representation(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user