diff options
author | Ryan Inch <mythologylover75@gmail.com> | 2020-07-22 11:12:32 +0300 |
---|---|---|
committer | Ryan Inch <mythologylover75@gmail.com> | 2020-07-22 11:12:32 +0300 |
commit | 294f97f0330ad3204c02b6f05a8cb2f5ea71f027 (patch) | |
tree | 2f6dda4983427d0ab0c01aac48aab2c58930c302 /object_collection_manager/operators.py | |
parent | cee175131c6d71a5c7043c8c3e177654d7b7ad86 (diff) |
Collection Manager: Small improvement. Task:T69577
Prevent the 'Expander' operators from being added to the undo stack
because they can't be undone properly and only add clutter.
Diffstat (limited to 'object_collection_manager/operators.py')
-rw-r--r-- | object_collection_manager/operators.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/object_collection_manager/operators.py b/object_collection_manager/operators.py index 1025535e..177ab3d7 100644 --- a/object_collection_manager/operators.py +++ b/object_collection_manager/operators.py @@ -100,7 +100,6 @@ class ExpandAllOperator(Operator): '''Expand/Collapse all collections''' bl_label = "Expand All Items" bl_idname = "view3d.expand_all_items" - bl_options = {'REGISTER', 'UNDO'} def execute(self, context): global expand_history @@ -131,7 +130,6 @@ class ExpandSublevelOperator(Operator): " * Alt+LMB - Discard history" ) bl_idname = "view3d.expand_sublevel" - bl_options = {'REGISTER', 'UNDO'} expand: BoolProperty() name: StringProperty() |