Remove unnecessary ifc.finish_edits

Unused since we do not use fc.edit anymore for parametric geometry
This commit is contained in:
Andrej730
2024-10-30 16:05:59 +05:00
parent 33ed7e5234
commit ccb223be94
2 changed files with 0 additions and 5 deletions
@@ -107,10 +107,6 @@ def update_railing_modifier_ifc_data(context: bpy.types.Context) -> None:
)
tool.Model.replace_object_ifc_representation(body, obj, model_representation)
# TODO: is still necessary? Seems to be needed only because FRAMELESS_PANEL was using too.Ifc.edit.
# hacky way to ensure tha ifc representation won't get tessellated at project save
tool.Ifc.finish_edit(obj)
elif props.railing_type == "FRAMELESS_PANEL":
tool.Model.add_body_representation(obj)
-1
View File
@@ -1491,7 +1491,6 @@ class Model(bonsai.core.tool.Model):
profile_set_usage=None,
)
tool.Model.replace_object_ifc_representation(body, obj, representation)
tool.Ifc.finish_edit(obj)
@classmethod
def auto_detect_profiles(