mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 05:17:58 +00:00
Fix #2968. Deletions are no longer postponed. Should fix or reveal a lot of sync errors.
This commit is contained in:
@@ -149,7 +149,7 @@ class Drawing(blenderbim.core.tool.Drawing):
|
||||
@classmethod
|
||||
def delete_drawing_elements(cls, elements):
|
||||
for element in elements:
|
||||
tool.Ifc.delete(element)
|
||||
ifcopenshell.api.run("root.remove_product", tool.Ifc.get(), product=element)
|
||||
obj = tool.Ifc.get_object(element)
|
||||
if obj:
|
||||
obj_data = obj.data
|
||||
|
||||
Reference in New Issue
Block a user