implement undo for 'patch' module #1475

This commit is contained in:
Jesusbill
2021-07-06 12:15:45 +02:00
parent 5cfbcf211b
commit 6a2c4aee46
@@ -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")