[Bf-blender-cvs] [c783e65] master: Fix/add some tooltips to 'Object Align' operator options.

Aaron Carlisle noreply at git.blender.org
Wed Aug 17 21:25:19 CEST 2016


Commit: c783e65762aaded75074493fd565a930185f9f78
Author: Aaron Carlisle
Date:   Wed Aug 17 21:24:13 2016 +0200
Branches: master
https://developer.blender.org/rBc783e65762aaded75074493fd565a930185f9f78

Fix/add some tooltips to 'Object Align' operator options.

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

M	release/scripts/startup/bl_operators/object_align.py

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

diff --git a/release/scripts/startup/bl_operators/object_align.py b/release/scripts/startup/bl_operators/object_align.py
index 5c3d95e..a6ee16e 100644
--- a/release/scripts/startup/bl_operators/object_align.py
+++ b/release/scripts/startup/bl_operators/object_align.py
@@ -365,6 +365,7 @@ class AlignObjects(Operator):
             )
     align_mode = EnumProperty(
             name="Align Mode:",
+            description="Side of object to use for alignment",
             items=(('OPT_1', "Negative Sides", ""),
                    ('OPT_2', "Centers", ""),
                    ('OPT_3', "Positive Sides", ""),
@@ -373,10 +374,11 @@ class AlignObjects(Operator):
             )
     relative_to = EnumProperty(
             name="Relative To:",
-            items=(('OPT_1', "Scene Origin", ""),
-                   ('OPT_2', "3D Cursor", ""),
-                   ('OPT_3', "Selection", ""),
-                   ('OPT_4', "Active", ""),
+            description="Reference location to align to",
+            items=(('OPT_1', "Scene Origin", "Use the Scene Origin as the position for the selected objects to align to"),
+                   ('OPT_2', "3D Cursor", "Use the 3D cursor as the position for the selected objects to align to"),
+                   ('OPT_3', "Selection", "Use the selected objects as the position for the selected objects to align to"),
+                   ('OPT_4', "Active", "Use the active object as the position for the selected objects to align to"),
                    ),
             default='OPT_4',
             )




More information about the Bf-blender-cvs mailing list