diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-08-16 16:20:48 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-08-16 16:20:48 +0300 |
commit | d9d24cef3eac7e4ab8529fcbc3a41adad4e75524 (patch) | |
tree | a2597c65dfb740149dfff008d61f08cdb945f0cb | |
parent | df419245fab3514b304854f51aa53824a4507e02 (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.py | 2 |
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 |