diff options
author | Peter Kim <pk15950@gmail.com> | 2022-09-08 07:00:43 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2022-09-08 07:00:43 +0300 |
commit | e83f88c951e26b01893acee4f24b40a46062a41c (patch) | |
tree | 09f60bf7d4fc2ae1ef50668823e416fc675b252e /archimesh/achm_main_panel.py | |
parent | ec84e3294593e2e26475f18c81e847bf00dc201e (diff) | |
parent | 0cd92169d40ae1c7e103ff269e850eaf1b901646 (diff) |
Merge branch 'master' into xr-devxr-dev
Diffstat (limited to 'archimesh/achm_main_panel.py')
-rw-r--r-- | archimesh/achm_main_panel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archimesh/achm_main_panel.py b/archimesh/achm_main_panel.py index 97c7d19d..482e26fd 100644 --- a/archimesh/achm_main_panel.py +++ b/archimesh/achm_main_panel.py @@ -8,7 +8,6 @@ # noinspection PyUnresolvedReferences import bpy # noinspection PyUnresolvedReferences -import bgl from bpy.types import Operator, Panel, SpaceView3D from math import sqrt, fabs, pi, asin from .achm_tools import * @@ -36,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 @@ -170,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 |