mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 07:42:41 +00:00
Fix internal openings list not being cleared when applying an opening
This commit is contained in:
@@ -157,6 +157,7 @@ class AddOpening(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
tool.Ifc.unlink(element=element2)
|
tool.Ifc.unlink(element=element2)
|
||||||
bpy.data.objects.remove(obj2)
|
bpy.data.objects.remove(obj2)
|
||||||
|
|
||||||
|
tool.Model.clear_scene_openings()
|
||||||
context.view_layer.objects.active = obj1
|
context.view_layer.objects.active = obj1
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user