Skip to content
Snippets Groups Projects
Commit d9d24cef authored by Antonio Vazquez's avatar Antonio Vazquez
Browse files

Archimesh: Register Undo for some missing operators

Two operators were missing the option to enable the Undo registering.
parent df419245
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,7 @@ class ARCHIMESH_OT_Hole(Operator): ...@@ -35,6 +35,7 @@ class ARCHIMESH_OT_Hole(Operator):
bl_label = "Auto Holes" bl_label = "Auto Holes"
bl_description = "Enable windows and doors holes for any selected object (needs wall thickness)" bl_description = "Enable windows and doors holes for any selected object (needs wall thickness)"
bl_category = 'View' bl_category = 'View'
bl_options = {'UNDO', 'REGISTER'}
# ------------------------------ # ------------------------------
# Execute # Execute
...@@ -169,6 +170,7 @@ class ARCHIMESH_OT_Pencil(Operator): ...@@ -169,6 +170,7 @@ class ARCHIMESH_OT_Pencil(Operator):
bl_label = "Room from Draw" bl_label = "Room from Draw"
bl_description = "Create a room base on grease pencil strokes (draw from top view (7 key))" bl_description = "Create a room base on grease pencil strokes (draw from top view (7 key))"
bl_category = 'View' bl_category = 'View'
bl_options = {'UNDO', 'REGISTER'}
# ------------------------------ # ------------------------------
# Execute # Execute
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment