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.
This commit is contained in:
parent
cee175131c
commit
294f97f033
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue