Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-08-16 16:20:48 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-08-16 16:20:48 +0300
commitd9d24cef3eac7e4ab8529fcbc3a41adad4e75524 (patch)
treea2597c65dfb740149dfff008d61f08cdb945f0cb
parentdf419245fab3514b304854f51aa53824a4507e02 (diff)
Archimesh: Register Undo for some missing operators
Two operators were missing the option to enable the Undo registering.
-rw-r--r--archimesh/achm_main_panel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archimesh/achm_main_panel.py b/archimesh/achm_main_panel.py
index fda383f4..482e26fd 100644
--- a/archimesh/achm_main_panel.py
+++ b/archimesh/achm_main_panel.py
@@ -35,6 +35,7 @@ class ARCHIMESH_OT_Hole(Operator):
bl_label = "Auto Holes"
bl_description = "Enable windows and doors holes for any selected object (needs wall thickness)"
bl_category = 'View'
+ bl_options = {'UNDO', 'REGISTER'}
# ------------------------------
# Execute
@@ -169,6 +170,7 @@ class ARCHIMESH_OT_Pencil(Operator):
bl_label = "Room from Draw"
bl_description = "Create a room base on grease pencil strokes (draw from top view (7 key))"
bl_category = 'View'
+ bl_options = {'UNDO', 'REGISTER'}
# ------------------------------
# Execute