[Bf-extensions-cvs] [d9d24cef] master: Archimesh: Register Undo for some missing operators
Antonio Vazquez
noreply at git.blender.org
Tue Aug 16 15:21:02 CEST 2022
Commit: d9d24cef3eac7e4ab8529fcbc3a41adad4e75524
Author: Antonio Vazquez
Date: Tue Aug 16 15:20:48 2022 +0200
Branches: master
https://developer.blender.org/rBAd9d24cef3eac7e4ab8529fcbc3a41adad4e75524
Archimesh: Register Undo for some missing operators
Two operators were missing the option to enable the Undo registering.
===================================================================
M archimesh/achm_main_panel.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list