[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46320] trunk/blender/source/blender/ editors: Second part of fix for [#31157]: Some (actually, 172) operators have no tooltip.

Bastien Montagne montagne29 at wanadoo.fr
Sat May 5 19:10:51 CEST 2012


Revision: 46320
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46320
Author:   mont29
Date:     2012-05-05 17:10:51 +0000 (Sat, 05 May 2012)
Log Message:
-----------
Second part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
About 30 undocumented ops remaining...

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/keyframing.c
    trunk/blender/source/blender/editors/mesh/editmesh_tools.c
    trunk/blender/source/blender/editors/object/object_edit.c
    trunk/blender/source/blender/editors/object/object_group.c
    trunk/blender/source/blender/editors/object/object_shapekey.c
    trunk/blender/source/blender/editors/object/object_vgroup.c
    trunk/blender/source/blender/editors/physics/particle_edit.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_hide.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_ops.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
    trunk/blender/source/blender/editors/space_node/node_edit.c
    trunk/blender/source/blender/editors/space_text/text_ops.c

Modified: trunk/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframing.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/animation/keyframing.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -1479,7 +1479,7 @@
 	/* identifiers */
 	ot->name = "Insert Keyframe (Buttons)";
 	ot->idname = "ANIM_OT_keyframe_insert_button";
-	ot->description = "Insert a keyframe keyframe for current UI-active property";
+	ot->description = "Insert a keyframe for current UI-active property";
 	
 	/* callbacks */
 	ot->exec = insert_key_button_exec; 

Modified: trunk/blender/source/blender/editors/mesh/editmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_tools.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/mesh/editmesh_tools.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -1251,6 +1251,7 @@
 	/* identifiers */
 	ot->name = "Edge Split";
 	ot->idname = "MESH_OT_edge_split";
+	ot->description = "Split selected edges so that each neighbor face gets its own copy";
 	
 	/* api callbacks */
 	ot->exec = edbm_edge_split_exec;
@@ -3060,6 +3061,7 @@
 	/* identifiers */
 	ot->name = "Beautify Fill";
 	ot->idname = "MESH_OT_beautify_fill";
+	ot->description = "Rearrange some faces to try to get less degenerated geometry";
 
 	/* api callbacks */
 	ot->exec = edbm_beautify_fill_exec;

Modified: trunk/blender/source/blender/editors/object/object_edit.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_edit.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/object/object_edit.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -1703,6 +1703,7 @@
 	/* identifiers */
 	ot->name = "Copy Game Property";
 	ot->idname = "OBJECT_OT_game_property_copy";
+	ot->description = "Copy/merge/replace a game property from active object to all selected objects";
 
 	/* api callbacks */
 	ot->exec = game_property_copy_exec;
@@ -1733,6 +1734,7 @@
 	/* identifiers */
 	ot->name = "Clear Game Property";
 	ot->idname = "OBJECT_OT_game_property_clear";
+	ot->description = "Remove all game properties from all selected objects";
 
 	/* api callbacks */
 	ot->exec = game_property_clear_exec;

Modified: trunk/blender/source/blender/editors/object/object_group.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_group.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/object/object_group.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -327,6 +327,7 @@
 	/* identifiers */
 	ot->name = "Remove Group";
 	ot->idname = "OBJECT_OT_group_remove";
+	ot->description = "Remove the active object from this group";
 	
 	/* api callbacks */
 	ot->exec = group_remove_exec;

Modified: trunk/blender/source/blender/editors/object/object_shapekey.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_shapekey.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/object/object_shapekey.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -403,6 +403,7 @@
 	/* identifiers */
 	ot->name = "Mirror Shape Key";
 	ot->idname = "OBJECT_OT_shape_key_mirror";
+	ot->description = "Mirror the current shape key along the local X axis";
 
 	/* api callbacks */
 	ot->poll = shape_key_mode_poll;
@@ -474,6 +475,7 @@
 	/* identifiers */
 	ot->name = "Move Shape Key";
 	ot->idname = "OBJECT_OT_shape_key_move";
+	ot->description = "Move the active shape key up/down in the list";
 
 	/* api callbacks */
 	ot->poll = shape_key_mode_poll;

Modified: trunk/blender/source/blender/editors/object/object_vgroup.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_vgroup.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/object/object_vgroup.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -2122,6 +2122,7 @@
 	/* identifiers */
 	ot->name = "Add Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_add";
+	ot->description = "Add a new vertex group to the active object";
 	
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2152,6 +2153,7 @@
 	/* identifiers */
 	ot->name = "Remove Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_remove";
+	ot->description = "Delete the active vertex group";
 	
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2187,6 +2189,7 @@
 	/* identifiers */
 	ot->name = "Assign Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_assign";
+	ot->description = "Assign the selected vertices to the current (or a new) vertex group";
 	
 	/* api callbacks */
 	ot->poll = vertex_group_poll_edit_or_wpaint_vert_select;
@@ -2229,6 +2232,7 @@
 	/* identifiers */
 	ot->name = "Remove from Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_remove_from";
+	ot->description = "Remove the selected vertices from the active vertex group";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll_edit_or_wpaint_vert_select;
@@ -2262,6 +2266,7 @@
 	/* identifiers */
 	ot->name = "Select Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_select";
+	ot->description = "Select all the vertices assigned to the active vertex group";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll_edit_or_wpaint_vert_select;
@@ -2286,6 +2291,7 @@
 	/* identifiers */
 	ot->name = "Deselect Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_deselect";
+	ot->description = "Deselect all selected vertices assigned to the active vertex group";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll_edit_or_wpaint_vert_select;
@@ -2312,6 +2318,7 @@
 	/* identifiers */
 	ot->name = "Copy Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_copy";
+	ot->description = "Make a copy of the active vertex group";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2342,6 +2349,7 @@
 	/* identifiers */
 	ot->name = "Vertex Group Levels";
 	ot->idname = "OBJECT_OT_vertex_group_levels";
+	ot->description = "Add some offset and multiply with some gain the weights of the active vertex group";
 	
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2372,6 +2380,7 @@
 	/* identifiers */
 	ot->name = "Normalize Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_normalize";
+	ot->description = "Normalize weights of the active vertex group, so that the highest ones are now 1.0";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2400,6 +2409,8 @@
 	/* identifiers */
 	ot->name = "Normalize All Vertex Groups";
 	ot->idname = "OBJECT_OT_vertex_group_normalize_all";
+	ot->description = "Normalize all weights of all vertex groups, "
+	                  "so that for each vertex, the sum of all weights is 1.0";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2480,6 +2491,7 @@
 	/* identifiers */
 	ot->name = "Change the Lock On Vertex Groups";
 	ot->idname = "OBJECT_OT_vertex_group_lock";
+	ot->description = "Change the lock state of all vertex groups of active object";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2510,6 +2522,7 @@
 	/* identifiers */
 	ot->name = "Invert Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_invert";
+	ot->description = "Invert active vertex group's weights";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;
@@ -2996,6 +3009,7 @@
 	/* identifiers */
 	ot->name = "Move Vertex Group";
 	ot->idname = "OBJECT_OT_vertex_group_move";
+	ot->description = "Move the active vertex group up/down in the list";
 
 	/* api callbacks */
 	ot->poll = vertex_group_poll;

Modified: trunk/blender/source/blender/editors/physics/particle_edit.c
===================================================================
--- trunk/blender/source/blender/editors/physics/particle_edit.c	2012-05-05 17:00:11 UTC (rev 46319)
+++ trunk/blender/source/blender/editors/physics/particle_edit.c	2012-05-05 17:10:51 UTC (rev 46320)
@@ -1367,6 +1367,7 @@
 	/* identifiers */
 	ot->name = "(De)select All";
 	ot->idname = "PARTICLE_OT_select_all";
+	ot->description = "(De)select all particles' keys";
 	
 	/* api callbacks */
 	ot->exec = pe_select_all_exec;
@@ -1441,6 +1442,7 @@
 	/* identifiers */
 	ot->name = "Select Roots";
 	ot->idname = "PARTICLE_OT_select_roots";
+	ot->description = "Select roots of all visible particles";
 	
 	/* api callbacks */
 	ot->exec = select_roots_exec;
@@ -1481,7 +1483,8 @@
 	/* identifiers */
 	ot->name = "Select Tips";
 	ot->idname = "PARTICLE_OT_select_tips";
-	
+	ot->description = "Select tips of all visible particles";
+
 	/* api callbacks */
 	ot->exec = select_tips_exec;
 	ot->poll = PE_poll;
@@ -1525,6 +1528,7 @@
 	/* identifiers */
 	ot->name = "Select Linked";
 	ot->idname = "PARTICLE_OT_select_linked";
+	ot->description = "Select nearest particle from mouse pointer";
 	
 	/* api callbacks */
 	ot->exec = select_linked_exec;
@@ -1717,6 +1721,7 @@
 	/* identifiers */
 	ot->name = "Hide Selected";
 	ot->idname = "PARTICLE_OT_hide";
+	ot->description = "Hide selected particles";
 	
 	/* api callbacks */
 	ot->exec = hide_exec;
@@ -1759,6 +1764,7 @@
 	/* identifiers */
 	ot->name = "Reveal";
 	ot->idname = "PARTICLE_OT_reveal";
+	ot->description = "Show hidden particles";
 	
 	/* api callbacks */
 	ot->exec = reveal_exec;
@@ -1817,6 +1823,7 @@
 	/* identifiers */
 	ot->name = "Select Less";
 	ot->idname = "PARTICLE_OT_select_less";
+	ot->description = "Deselect boundary selected keys of each particle";
 	
 	/* api callbacks */
 	ot->exec = select_less_exec;
@@ -1878,6 +1885,7 @@
 	/* identifiers */
 	ot->name = "Select More";
 	ot->idname = "PARTICLE_OT_select_more";
+	ot->description = "Select keys linked to boundary selected keys of each particle";
 	
 	/* api callbacks */
 	ot->exec = select_more_exec;
@@ -1974,6 +1982,7 @@
 	/* identifiers */
 	ot->name = "Rekey";
 	ot->idname = "PARTICLE_OT_rekey";
+	ot->description = "Change the number of keys of selected particles (root and tip keys included)";
 	
 	/* api callbacks */
 	ot->exec = rekey_exec;
@@ -2304,6 +2313,7 @@
 	/* identifiers */
 	ot->name = "Subdivide";
 	ot->idname = "PARTICLE_OT_subdivide";
+	ot->description = "Subdivide selected particles segments (adds keys)";
 	
 	/* api callbacks */
 	ot->exec = subdivide_exec;
@@ -2392,6 +2402,7 @@
 	/* identifiers */
 	ot->name = "Remove Doubles";

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list