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 | |
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.
-rw-r--r-- | object_collection_manager/__init__.py | 2 | ||||
-rw-r--r-- | object_collection_manager/operators.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py index fb9c0c49..7fe71187 100644 --- a/object_collection_manager/__init__.py +++ b/object_collection_manager/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Collection Manager", "description": "Manage collections and their objects", "author": "Ryan Inch", - "version": (2, 12, 0), + "version": (2, 12, 1), "blender": (2, 80, 0), "location": "View3D - Object Mode (Shortcut - M)", "warning": '', # used for warning icon and text in addons panel 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() |