[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44945] trunk/blender: UI messages: unification of select/deselect stuff.
Bastien Montagne
montagne29 at wanadoo.fr
Sat Mar 17 20:14:14 CET 2012
Revision: 44945
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44945
Author: mont29
Date: 2012-03-17 19:14:08 +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/blender/release/scripts/startup/bl_ui/space_clip.py
trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
trunk/blender/source/blender/editors/animation/keyingsets.c
trunk/blender/source/blender/editors/armature/editarmature.c
trunk/blender/source/blender/editors/curve/editcurve.c
trunk/blender/source/blender/editors/mesh/bmesh_tools.c
trunk/blender/source/blender/editors/metaball/mball_edit.c
trunk/blender/source/blender/editors/object/object_lattice.c
trunk/blender/source/blender/editors/object/object_select.c
trunk/blender/source/blender/editors/space_clip/clip_graph_ops.c
trunk/blender/source/blender/editors/space_clip/tracking_ops.c
trunk/blender/source/blender/editors/space_file/file_ops.c
trunk/blender/source/blender/editors/space_info/info_report.c
trunk/blender/source/blender/editors/space_nla/nla_select.c
trunk/blender/source/blender/editors/space_node/node_select.c
trunk/blender/source/blender/editors/space_sequencer/sequencer_select.c
trunk/blender/source/blender/editors/uvedit/uvedit_ops.c
Modified: trunk/blender/release/scripts/startup/bl_ui/space_clip.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_clip.py 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/release/scripts/startup/bl_ui/space_clip.py 2012-03-17 19:14:08 UTC (rev 44945)
@@ -985,7 +985,7 @@
layout.separator()
- props = layout.operator("clip.select_all", text="Select/Deselect all")
+ props = layout.operator("clip.select_all")
props.action = 'TOGGLE'
layout.operator("clip.select_all", text="Inverse").action = 'INVERT'
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2012-03-17 19:14:08 UTC (rev 44945)
@@ -427,7 +427,7 @@
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")
@@ -452,7 +452,7 @@
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_flip_active", text="Flip Active")
layout.operator("pose.select_constraint_target", text="Constraint Target")
@@ -489,7 +489,7 @@
layout.separator()
- layout.operator("particle.select_all", text="Select/Deselect All").action = 'TOGGLE'
+ layout.operator("particle.select_all").action = 'TOGGLE'
layout.operator("particle.select_linked")
layout.operator("particle.select_all").action = 'INVERT'
@@ -515,7 +515,7 @@
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()
@@ -566,7 +566,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", text="Inverse").action = 'INVERT'
layout.operator("curve.select_random")
layout.operator("curve.select_nth", text="Every Nth Number of Points")
@@ -595,7 +595,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", text="Inverse").action = 'INVERT'
layout.operator("curve.select_random")
layout.operator("curve.select_nth", text="Every Nth Number of Points")
@@ -638,7 +638,7 @@
layout.separator()
- layout.operator("lattice.select_all", text="Select/Deselect All")
+ layout.operator("lattice.select_all")
layout.operator("lattice.select_all", text="Inverse").action = 'INVERT'
@@ -652,7 +652,7 @@
layout.separator()
- layout.operator("armature.select_all", text="Select/Deselect All").action = 'TOGGLE'
+ layout.operator("armature.select_all").action = 'TOGGLE'
layout.operator("armature.select_all", text="Inverse").action = 'INVERT'
layout.separator()
Modified: trunk/blender/source/blender/editors/animation/keyingsets.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyingsets.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/animation/keyingsets.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -187,7 +187,7 @@
void ANIM_OT_keying_set_remove (wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Removed Active Keying Set";
+ ot->name= "Remove Active Keying Set";
ot->idname= "ANIM_OT_keying_set_remove";
ot->description= "Remove the active Keying Set";
Modified: trunk/blender/source/blender/editors/armature/editarmature.c
===================================================================
--- trunk/blender/source/blender/editors/armature/editarmature.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/armature/editarmature.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -4013,7 +4013,7 @@
void ARMATURE_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->idname= "ARMATURE_OT_select_all";
ot->description= "Toggle selection status of all bones";
@@ -5077,7 +5077,7 @@
void POSE_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->idname= "POSE_OT_select_all";
ot->description= "Toggle selection status of all bones";
Modified: trunk/blender/source/blender/editors/curve/editcurve.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editcurve.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/curve/editcurve.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -2502,7 +2502,7 @@
void CURVE_OT_de_select_first(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect First";
+ ot->name= "(De)select First";
ot->idname= "CURVE_OT_de_select_first";
/* api cfirstbacks */
@@ -2526,7 +2526,7 @@
void CURVE_OT_de_select_last(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect Last";
+ ot->name= "(De)select Last";
ot->idname= "CURVE_OT_de_select_last";
/* api clastbacks */
@@ -2604,7 +2604,7 @@
void CURVE_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->idname= "CURVE_OT_select_all";
/* api callbacks */
Modified: trunk/blender/source/blender/editors/mesh/bmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/bmesh_tools.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/mesh/bmesh_tools.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -671,7 +671,7 @@
void MESH_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Select/Deselect All";
+ ot->name = "(De)select All";
ot->idname = "MESH_OT_select_all";
ot->description = "(De)select all vertices, edges or faces";
Modified: trunk/blender/source/blender/editors/metaball/mball_edit.c
===================================================================
--- trunk/blender/source/blender/editors/metaball/mball_edit.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/metaball/mball_edit.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -167,7 +167,7 @@
void MBALL_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->description= "Change selection of all meta elements";
ot->idname= "MBALL_OT_select_all";
Modified: trunk/blender/source/blender/editors/object/object_lattice.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_lattice.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/object/object_lattice.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -240,7 +240,7 @@
void LATTICE_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->description= "Change selection of all UVW control points";
ot->idname= "LATTICE_OT_select_all";
Modified: trunk/blender/source/blender/editors/object/object_select.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_select.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/object/object_select.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -787,7 +787,7 @@
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->description = "Change selection of all visible objects in scene";
ot->idname= "OBJECT_OT_select_all";
Modified: trunk/blender/source/blender/editors/space_clip/clip_graph_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_graph_ops.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/space_clip/clip_graph_ops.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -444,7 +444,7 @@
void CLIP_OT_graph_select_all_markers(wmOperatorType *ot)
{
/* identifiers */
- ot->name = "Select or Deselect All Markers";
+ ot->name = "(De)select All Markers";
ot->description = "Change selection of all markers of active track";
ot->idname = "CLIP_OT_graph_select_all_markers";
Modified: trunk/blender/source/blender/editors/space_clip/tracking_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/tracking_ops.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/space_clip/tracking_ops.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -1080,7 +1080,7 @@
void CLIP_OT_select_all(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select or Deselect All";
+ ot->name= "(De)select All";
ot->description= "Change selection of all tracking markers";
ot->idname= "CLIP_OT_select_all";
Modified: trunk/blender/source/blender/editors/space_file/file_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_file/file_ops.c 2012-03-17 18:33:51 UTC (rev 44944)
+++ trunk/blender/source/blender/editors/space_file/file_ops.c 2012-03-17 19:14:08 UTC (rev 44945)
@@ -398,8 +398,8 @@
void FILE_OT_select_all_toggle(wmOperatorType *ot)
{
/* identifiers */
- ot->name= "Select/Deselect All Files";
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list