mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Remove unnecessary ifc.finish_edits
Unused since we do not use fc.edit anymore for parametric geometry
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user