Collection Manager: Fix tooltips. Task: T69577
This commit is contained in:
parent
e35305aaff
commit
491eb30135
|
@ -22,7 +22,7 @@ bl_info = {
|
|||
"name": "Collection Manager",
|
||||
"description": "Manage collections and their objects",
|
||||
"author": "Ryan Inch",
|
||||
"version": (2, 7, 18),
|
||||
"version": (2, 7, 19),
|
||||
"blender": (2, 80, 0),
|
||||
"location": "View3D - Object Mode (Shortcut - M)",
|
||||
"warning": '', # used for warning icon and text in addons panel
|
||||
|
|
|
@ -926,13 +926,28 @@ class CMRemoveCollectionOperator(Operator):
|
|||
|
||||
rename = [False]
|
||||
class CMNewCollectionOperator(Operator):
|
||||
'''Add New Collection'''
|
||||
bl_label = "Add New Collection"
|
||||
bl_idname = "view3d.add_collection"
|
||||
bl_options = {'UNDO'}
|
||||
|
||||
child: BoolProperty()
|
||||
|
||||
@classmethod
|
||||
def description(cls, context, properties):
|
||||
if properties.child:
|
||||
tooltip = (
|
||||
"Add New SubCollection.\n"
|
||||
"Add a new subcollection to the currently selected collection"
|
||||
)
|
||||
|
||||
else:
|
||||
tooltip = (
|
||||
"Add New Collection.\n"
|
||||
"Add a new collection as a sibling of the currently selected collection"
|
||||
)
|
||||
|
||||
return tooltip
|
||||
|
||||
def execute(self, context):
|
||||
global rto_history
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@ class ViewMoveQCDSlot(Operator):
|
|||
hotkey_string = (
|
||||
" * Shift+LMB - Toggle QCD slot.\n"
|
||||
" * Ctrl+LMB - Move objects to QCD slot.\n"
|
||||
" * Ctrl+Shift+Click - Toggle objects' slot"
|
||||
" * Ctrl+Shift+LMB - Toggle objects' slot"
|
||||
)
|
||||
|
||||
return f"{slot_string}{hotkey_string}"
|
||||
|
|
Loading…
Reference in New Issue