From 6a2c4aee466167f238b5d46e8082458421a69430 Mon Sep 17 00:00:00 2001 From: Jesusbill Date: Tue, 6 Jul 2021 12:15:45 +0200 Subject: [PATCH] implement undo for 'patch' module #1475 --- src/blenderbim/blenderbim/bim/module/patch/operator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blenderbim/blenderbim/bim/module/patch/operator.py b/src/blenderbim/blenderbim/bim/module/patch/operator.py index 484adf3597..6060c7a76d 100644 --- a/src/blenderbim/blenderbim/bim/module/patch/operator.py +++ b/src/blenderbim/blenderbim/bim/module/patch/operator.py @@ -6,6 +6,7 @@ import json class SelectIfcPatchInput(bpy.types.Operator): bl_idname = "bim.select_ifc_patch_input" bl_label = "Select IFC Patch Input" + bl_options = {"REGISTER", "UNDO"} filter_glob: bpy.props.StringProperty(default="*.ifc", options={"HIDDEN"}) filepath: bpy.props.StringProperty(subtype="FILE_PATH") @@ -21,6 +22,7 @@ class SelectIfcPatchInput(bpy.types.Operator): class SelectIfcPatchOutput(bpy.types.Operator): bl_idname = "bim.select_ifc_patch_output" bl_label = "Select IFC Patch Output" + bl_options = {"REGISTER", "UNDO"} filename_ext = ".ifc" filepath: bpy.props.StringProperty(subtype="FILE_PATH")