Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Inch <mythologylover75@gmail.com>2021-05-19 09:10:52 +0300
committerRyan Inch <mythologylover75@gmail.com>2021-05-19 09:10:52 +0300
commitdf01c14fdd8a3d13f3994925af9a451873473eff (patch)
tree7bd44b275e3a0fcf21e47a368ffe36283dc4c2a6
parenteb6aa304ca043bc77d8c00b78c4d0762952ad088 (diff)
Collection Manager: Tooltip fixes. Task: T69577
-rw-r--r--object_collection_manager/__init__.py2
-rw-r--r--object_collection_manager/operators.py6
-rw-r--r--object_collection_manager/qcd_move_widget.py5
-rw-r--r--object_collection_manager/ui.py4
4 files changed, 12 insertions, 5 deletions
diff --git a/object_collection_manager/__init__.py b/object_collection_manager/__init__.py
index 5dde35b2..ff8f8b60 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, 21, 3),
+ "version": (2, 21, 4),
"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 b38e2fe6..cfa4146c 100644
--- a/object_collection_manager/operators.py
+++ b/object_collection_manager/operators.py
@@ -1382,9 +1382,13 @@ class CMNewCollectionOperator(Operator):
class CMPhantomModeOperator(Operator):
- '''Toggle Phantom Mode'''
bl_label = "Toggle Phantom Mode"
bl_idname = "view3d.toggle_phantom_mode"
+ bl_description = (
+ "Phantom Mode\n"
+ "Saves the state of all RTOs and only allows changes to them, on exit all RTOs are returned to their saved state.\n"
+ "Note: modifying collections (except RTOs) externally will exit Phantom Mode and your initial state will be lost"
+ )
def execute(self, context):
cm = context.scene.collection_manager
diff --git a/object_collection_manager/qcd_move_widget.py b/object_collection_manager/qcd_move_widget.py
index 57d281c4..17add907 100644
--- a/object_collection_manager/qcd_move_widget.py
+++ b/object_collection_manager/qcd_move_widget.py
@@ -923,7 +923,10 @@ def draw_callback_px(self, context):
if self.draw_tooltip:
slot_name = internals.qcd_slots.get_name(f"{tooltip_slot_idx}")
slot_string = f"QCD Slot {tooltip_slot_idx}: \"{slot_name}\"\n"
- hotkey_string = " * Shift+LMB - Toggle objects\' slot."
+ hotkey_string = (
+ " * LMB - Move objects to slot.\n"
+ " * Shift+LMB - Toggle objects\' slot."
+ )
draw_tooltip(self, context, shader, f"{slot_string}{hotkey_string}")
diff --git a/object_collection_manager/ui.py b/object_collection_manager/ui.py
index 045d4dda..601b587a 100644
--- a/object_collection_manager/ui.py
+++ b/object_collection_manager/ui.py
@@ -540,14 +540,14 @@ class CM_UL_items(UIList):
filter_by_selected: BoolProperty(
name="Filter By Selected",
default=False,
- description="Filter collections by selected items",
+ description="Filter collections to only show the ones that contain the selected objects",
update=lambda self, context:
CM_UL_items.new_collections.clear(),
)
filter_by_qcd: BoolProperty(
name="Filter By QCD",
default=False,
- description="Filter collections to only show QCD slots",
+ description="Filter collections to only show the ones that are QCD slots",
update=lambda self, context:
CM_UL_items.new_collections.clear(),
)