From 294f97f0330ad3204c02b6f05a8cb2f5ea71f027 Mon Sep 17 00:00:00 2001 From: Ryan Inch Date: Wed, 22 Jul 2020 04:12:32 -0400 Subject: 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. --- object_collection_manager/__init__.py | 2 +- object_collection_manager/operators.py | 2 -- 2 files changed, 1 insertion(+), 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() -- cgit v1.2.3