mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Fix #3066. Regression crash when deleting openings.
This commit is contained in:
@@ -84,6 +84,7 @@ class Geometry(blenderbim.core.tool.Geometry):
|
|||||||
bpy.data.collections.remove(obj.users_collection[0])
|
bpy.data.collections.remove(obj.users_collection[0])
|
||||||
if getattr(element, "FillsVoids", None):
|
if getattr(element, "FillsVoids", None):
|
||||||
bpy.ops.bim.remove_filling(filling=element.id())
|
bpy.ops.bim.remove_filling(filling=element.id())
|
||||||
|
|
||||||
if element.is_a("IfcOpeningElement"):
|
if element.is_a("IfcOpeningElement"):
|
||||||
if element.HasFillings:
|
if element.HasFillings:
|
||||||
for rel in element.HasFillings:
|
for rel in element.HasFillings:
|
||||||
|
|||||||
Reference in New Issue
Block a user