Archimesh: Register Undo for some missing operators

Two operators were missing the option to enable the Undo registering.
This commit is contained in:
Antonio Vazquez 2022-08-16 15:20:48 +02:00
parent df419245fa
commit d9d24cef3e
1 changed files with 2 additions and 0 deletions

View File

@ -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