Deprecate should_reload and is_global in switch representation as they don't do anything now.

Superseded by item editing mode, so always reload, and always global.
This commit is contained in:
Dion Moult
2025-10-06 16:57:54 +11:00
parent e662308665
commit b68ce08811
26 changed files with 2 additions and 130 deletions
@@ -145,8 +145,6 @@ def update_door_modifier_representation(obj: bpy.types.Object) -> None:
tool.Geometry,
obj=obj,
representation=ifcopenshell.util.representation.get_representation(element, active_context),
should_reload=True,
is_global=True,
)
# type attributes
@@ -580,8 +578,6 @@ class CancelEditingDoor(bpy.types.Operator, tool.Ifc.Operator):
tool.Geometry,
obj=obj,
representation=body,
should_reload=True,
is_global=True,
)
props.is_editing = False