mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user