bim.show_loads - add undo for safety

In Blender it's unsafe to leave operators without UNDO options if they edit any ID data-block.
This commit is contained in:
Andrej730
2025-03-14 14:55:40 +05:00
parent f36830d6dc
commit e55523ce3e
@@ -36,6 +36,7 @@ class ShowLoads(bpy.types.Operator):
bl_idname = "bim.show_loads"
bl_label = "Show Loads in 3D View"
bl_options = {"REGISTER", "UNDO"}
def modal(self, context, event):
if event.type == "F5":