[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3127] trunk/py/scripts/addons/ space_view3d_spacebar_menu.py: UI messages: unification of select/ deselect stuff.

Bastien Montagne montagne29 at wanadoo.fr
Sat Mar 17 20:14:44 CET 2012


Revision: 3127
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3127
Author:   mont29
Date:     2012-03-17 19:14:43 +0000 (Sat, 17 Mar 2012)
Log Message:
-----------
UI messages: unification of select/deselect stuff.

Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.

Modified Paths:
--------------
    trunk/py/scripts/addons/space_view3d_spacebar_menu.py

Modified: trunk/py/scripts/addons/space_view3d_spacebar_menu.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_spacebar_menu.py	2012-03-17 14:28:15 UTC (rev 3126)
+++ trunk/py/scripts/addons/space_view3d_spacebar_menu.py	2012-03-17 19:14:43 UTC (rev 3127)
@@ -804,7 +804,7 @@
         layout.operator("view3d.select_circle")
         layout.separator()
 
-        layout.operator("object.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("object.select_all").action = 'TOGGLE'
         layout.operator("object.select_all", text="Inverse").action = 'INVERT'
         layout.operator("object.select_random", text="Random")
         layout.operator("object.select_mirror", text="Mirror")
@@ -830,7 +830,7 @@
         layout.operator("view3d.select_circle")
         layout.separator()
 
-        layout.operator("mesh.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("mesh.select_all").action = 'TOGGLE'
         layout.operator("mesh.select_all", text="Inverse").action = 'INVERT'
         layout.separator()
 
@@ -880,7 +880,7 @@
         layout.operator("view3d.select_circle")
         layout.separator()
 
-        layout.operator("curve.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("curve.select_all").action = 'TOGGLE'
         layout.operator("curve.select_all").action = 'INVERT'
         layout.operator("curve.select_random")
         layout.operator("curve.select_nth")
@@ -904,7 +904,7 @@
         layout.operator("view3d.select_border")
         layout.separator()
 
-        layout.operator("armature.select_all", text="Select/Deselect All")
+        layout.operator("armature.select_all")
         layout.operator("armature.select_inverse", text="Inverse")
         layout.separator()
 
@@ -936,7 +936,7 @@
         layout.operator("view3d.select_border")
         layout.separator()
 
-        layout.operator("pose.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("pose.select_all").action = 'TOGGLE'
         layout.operator("pose.select_all", text="Inverse").action = 'INVERT'
         layout.operator("pose.select_constraint_target",
                         text="Constraint Target")
@@ -1002,7 +1002,7 @@
 
         layout.separator()
 
-        layout.operator("curve.select_all", text="Select/Deselect All").action = 'TOGGLE'
+        layout.operator("curve.select_all").action = 'TOGGLE'
         layout.operator("curve.select_all").action = 'INVERT'
         layout.operator("curve.select_random")
         layout.operator("curve.select_nth")



More information about the Bf-extensions-cvs mailing list