[Bf-extensions-cvs] [df01c14f] blender-v2.93-release: Collection Manager: Tooltip fixes. Task: T69577

Ryan Inch noreply at git.blender.org
Wed May 19 08:12:02 CEST 2021


Commit: df01c14fdd8a3d13f3994925af9a451873473eff
Author: Ryan Inch
Date:   Wed May 19 02:10:52 2021 -0400
Branches: blender-v2.93-release
https://developer.blender.org/rBAdf01c14fdd8a3d13f3994925af9a451873473eff

Collection Manager: Tooltip fixes. Task: T69577

===================================================================

M	object_collection_manager/__init__.py
M	object_collection_manager/operators.py
M	object_collection_manager/qcd_move_widget.py
M	object_collection_manager/ui.py

===================================================================

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(),
                         )



More information about the Bf-extensions-cvs mailing list