[Bf-extensions-cvs] [294f97f0] master: Collection Manager: Small improvement. Task:T69577
Ryan Inch
noreply at git.blender.org
Wed Jul 22 10:15:46 CEST 2020
Commit: 294f97f0330ad3204c02b6f05a8cb2f5ea71f027
Author: Ryan Inch
Date: Wed Jul 22 04:12:32 2020 -0400
Branches: master
https://developer.blender.org/rBA294f97f0330ad3204c02b6f05a8cb2f5ea71f027
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.
===================================================================
M object_collection_manager/__init__.py
M object_collection_manager/operators.py
===================================================================
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()
More information about the Bf-extensions-cvs
mailing list