bim.refresh_library - add missing undo flag

It's unsafe in Blender to leave operators that edit blend data without undo flag.
This commit is contained in:
Andrej730
2025-02-13 15:59:55 +05:00
parent 0b32c89c26
commit b88fd964bc
@@ -210,6 +210,7 @@ class SelectLibraryFile(bpy.types.Operator, IFCFileSelector):
class RefreshLibrary(bpy.types.Operator):
bl_idname = "bim.refresh_library"
bl_label = "Refresh Library"
bl_options = {"UNDO"}
def execute(self, context):
self.props = tool.Project.get_project_props()