[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46281] trunk/blender/source/blender/ editors: First part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Bastien Montagne
montagne29 at wanadoo.fr
Fri May 4 17:00:36 CEST 2012
Revision: 46281
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46281
Author: mont29
Date: 2012-05-04 15:00:36 +0000 (Fri, 04 May 2012)
Log Message:
-----------
First part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Notes:
* This commit adds about a third of missing tips (a few are rather dummy, as name already says everything, but better that than "(undocumented operator)" showing in UI!
* There is a problem with macros, their tips are not registered in RNA. Got a patch for this, will submit it to campbo asap.
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/keyframing.c
trunk/blender/source/blender/editors/animation/keyingsets.c
trunk/blender/source/blender/editors/curve/editcurve.c
trunk/blender/source/blender/editors/curve/editfont.c
trunk/blender/source/blender/editors/physics/particle_boids.c
trunk/blender/source/blender/editors/space_clip/clip_ops.c
trunk/blender/source/blender/editors/space_image/image_ops.c
trunk/blender/source/blender/editors/space_info/info_ops.c
Modified: trunk/blender/source/blender/editors/animation/keyframing.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyframing.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/animation/keyframing.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -1479,6 +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";
/* callbacks */
ot->exec = insert_key_button_exec;
@@ -1551,6 +1552,7 @@
/* identifiers */
ot->name = "Delete Keyframe (Buttons)";
ot->idname = "ANIM_OT_keyframe_delete_button";
+ ot->description = "Delete current keyframe of current UI-active property";
/* callbacks */
ot->exec = delete_key_button_exec;
Modified: trunk/blender/source/blender/editors/animation/keyingsets.c
===================================================================
--- trunk/blender/source/blender/editors/animation/keyingsets.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/animation/keyingsets.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -373,6 +373,7 @@
/* identifiers */
ot->name = "Add to Keying Set";
ot->idname = "ANIM_OT_keyingset_button_add";
+ ot->description = "Add current UI-active property to current keying set";
/* callbacks */
ot->exec = add_keyingset_button_exec;
@@ -452,6 +453,7 @@
/* identifiers */
ot->name = "Remove from Keying Set";
ot->idname = "ANIM_OT_keyingset_button_remove";
+ ot->description = "Remove current UI-active property from current keying set";
/* callbacks */
ot->exec = remove_keyingset_button_exec;
@@ -501,6 +503,7 @@
/* identifiers */
ot->name = "Set Active Keying Set";
ot->idname = "ANIM_OT_keying_set_active_set";
+ ot->description = "Select a new keying set as the active one";
/* callbacks */
ot->invoke = keyingset_active_menu_invoke;
Modified: trunk/blender/source/blender/editors/curve/editcurve.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editcurve.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/curve/editcurve.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -1416,6 +1416,7 @@
/* identifiers */
ot->name = "Separate";
ot->idname = "CURVE_OT_separate";
+ ot->description = "Separate (partly) selected curves or surfaces into a new object";
/* api callbacks */
ot->exec = separate_exec;
@@ -2532,6 +2533,7 @@
/* identifiers */
ot->name = "(De)select First";
ot->idname = "CURVE_OT_de_select_first";
+ ot->description = "(De)select first of visible part of each Nurb";
/* api cfirstbacks */
ot->exec = de_select_first_exec;
@@ -2556,6 +2558,7 @@
/* identifiers */
ot->name = "(De)select Last";
ot->idname = "CURVE_OT_de_select_last";
+ ot->description = "(De)select last of visible part of each Nurb";
/* api clastbacks */
ot->exec = de_select_last_exec;
@@ -2637,6 +2640,7 @@
/* identifiers */
ot->name = "(De)select All";
ot->idname = "CURVE_OT_select_all";
+ ot->description = "(De)select all control points";
/* api callbacks */
ot->exec = de_select_all_exec;
@@ -2711,6 +2715,7 @@
/* identifiers */
ot->name = "Hide Selected";
ot->idname = "CURVE_OT_hide";
+ ot->description = "Hide (un)selected control points";
/* api callbacks */
ot->exec = hide_exec;
@@ -2771,6 +2776,7 @@
/* identifiers */
ot->name = "Reveal Hidden";
ot->idname = "CURVE_OT_reveal";
+ ot->description = "Show again hidden control points";
/* api callbacks */
ot->exec = reveal_exec;
@@ -4118,6 +4124,7 @@
/* identifiers */
ot->name = "Make Segment";
ot->idname = "CURVE_OT_make_segment";
+ ot->description = "Join two curves by their selected ends";
/* api callbacks */
ot->exec = make_segment_exec;
@@ -4353,6 +4360,7 @@
/* identifiers */
ot->name = "Spin";
ot->idname = "CURVE_OT_spin";
+ ot->description = "Extrude selected boundary row around pivot point and current view axis";
/* api callbacks */
ot->exec = spin_exec;
@@ -4687,6 +4695,7 @@
/* identifiers */
ot->name = "Add Vertex";
ot->idname = "CURVE_OT_vertex_add";
+ ot->description = "Add a new control point (linked to only selected end-curve one, if any)";
/* api callbacks */
ot->exec = add_vertex_exec;
@@ -4940,6 +4949,7 @@
/* identifiers */
ot->name = "Select Linked All";
ot->idname = "CURVE_OT_select_linked";
+ ot->description = "Select all control points linked to active one";
/* api callbacks */
ot->exec = select_linked_exec;
@@ -5000,6 +5010,7 @@
/* identifiers */
ot->name = "Select Linked";
ot->idname = "CURVE_OT_select_linked_pick";
+ ot->description = "Select all control points linked to already selected ones";
/* api callbacks */
ot->invoke = select_linked_pick_invoke;
@@ -5078,6 +5089,7 @@
/* identifiers */
ot->name = "Select Control Point Row";
ot->idname = "CURVE_OT_select_row";
+ ot->description = "Select a row of control points including active one";
/* api callbacks */
ot->exec = select_row_exec;
@@ -5105,6 +5117,7 @@
/* identifiers */
ot->name = "Select Next";
ot->idname = "CURVE_OT_select_next";
+ ot->description = "Select control points following already selected ones along the curves";
/* api callbacks */
ot->exec = select_next_exec;
@@ -5132,6 +5145,7 @@
/* identifiers */
ot->name = "Select Previous";
ot->idname = "CURVE_OT_select_previous";
+ ot->description = "Select control points preceding already selected ones along the curves";
/* api callbacks */
ot->exec = select_previous_exec;
@@ -5219,6 +5233,7 @@
/* identifiers */
ot->name = "Select More";
ot->idname = "CURVE_OT_select_more";
+ ot->description = "Select control points linked to already selected ones";
/* api callbacks */
ot->exec = select_more_exec;
@@ -5380,6 +5395,7 @@
/* identifiers */
ot->name = "Select Less";
ot->idname = "CURVE_OT_select_less";
+ ot->description = "Reduce current selection by deselecting boundary elements";
/* api callbacks */
ot->exec = select_less_exec;
@@ -5443,6 +5459,7 @@
/* identifiers */
ot->name = "Select Random";
ot->idname = "CURVE_OT_select_random";
+ ot->description = "Randomly select some control points";
/* api callbacks */
ot->exec = select_random_exec;
@@ -6028,6 +6045,7 @@
/* identifiers */
ot->name = "Shade Smooth";
ot->idname = "CURVE_OT_shade_smooth";
+ ot->description = "Set shading to smooth";
/* api callbacks */
ot->exec = shade_smooth_exec;
@@ -6042,6 +6060,7 @@
/* identifiers */
ot->name = "Shade Flat";
ot->idname = "CURVE_OT_shade_flat";
+ ot->description = "Set shading to flat";
/* api callbacks */
ot->exec = shade_smooth_exec;
@@ -6914,6 +6933,7 @@
/* identifiers */
ot->name = "Clear Tilt";
ot->idname = "CURVE_OT_tilt_clear";
+ ot->description = "Clear the tilt of selected control points";
/* api callbacks */
ot->exec = clear_tilt_exec;
Modified: trunk/blender/source/blender/editors/curve/editfont.c
===================================================================
--- trunk/blender/source/blender/editors/curve/editfont.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/curve/editfont.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -1696,6 +1696,7 @@
/* identifiers */
ot->name = "Open Font";
ot->idname = "FONT_OT_open";
+ ot->description = "Load a new font from a file";
/* api callbacks */
ot->exec = font_open_exec;
Modified: trunk/blender/source/blender/editors/physics/particle_boids.c
===================================================================
--- trunk/blender/source/blender/editors/physics/particle_boids.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/physics/particle_boids.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -145,6 +145,7 @@
/* identifiers */
ot->name = "Remove Boid Rule";
ot->idname = "BOID_OT_rule_del";
+ ot->description = "Delete current boid rule";
/* api callbacks */
ot->exec = rule_del_exec;
@@ -318,6 +319,7 @@
/* identifiers */
ot->name = "Remove Boid State";
ot->idname = "BOID_OT_state_del";
+ ot->description = "Delete current boid state";
/* api callbacks */
ot->exec = state_del_exec;
Modified: trunk/blender/source/blender/editors/space_clip/clip_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_clip/clip_ops.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/space_clip/clip_ops.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -402,6 +402,7 @@
/* identifiers */
ot->name = "View Pan";
ot->idname = "CLIP_OT_view_pan";
+ ot->description = "Pan the view";
/* api callbacks */
ot->exec = view_pan_exec;
@@ -528,6 +529,7 @@
/* identifiers */
ot->name = "View Zoom";
ot->idname = "CLIP_OT_view_zoom";
+ ot->description = "Zoom on/out the view";
/* api callbacks */
ot->exec = view_zoom_exec;
@@ -576,6 +578,7 @@
/* identifiers */
ot->name = "View Zoom In";
ot->idname = "CLIP_OT_view_zoom_in";
+ ot->description = "Zoom in the view";
/* api callbacks */
ot->exec = view_zoom_in_exec;
@@ -616,6 +619,7 @@
/* identifiers */
ot->name = "View Zoom Out";
ot->idname = "CLIP_OT_view_zoom_out";
+ ot->description = "Zoom out the view";
/* api callbacks */
ot->exec = view_zoom_out_exec;
@@ -649,6 +653,7 @@
/* identifiers */
ot->name = "View Zoom Ratio";
ot->idname = "CLIP_OT_view_zoom_ratio";
+ ot->description = "Set the zoom ratio (based on clip size)";
/* api callbacks */
ot->exec = view_zoom_ratio_exec;
@@ -716,6 +721,7 @@
/* identifiers */
ot->name = "View All";
ot->idname = "CLIP_OT_view_all";
+ ot->description = "View whole image with markers";
/* api callbacks */
ot->exec = view_all_exec;
@@ -746,6 +752,7 @@
/* identifiers */
ot->name = "View Selected";
ot->idname = "CLIP_OT_view_selected";
+ ot->description = "View all selected elements";
/* api callbacks */
ot->exec = view_selected_exec;
Modified: trunk/blender/source/blender/editors/space_image/image_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_image/image_ops.c 2012-05-04 14:34:10 UTC (rev 46280)
+++ trunk/blender/source/blender/editors/space_image/image_ops.c 2012-05-04 15:00:36 UTC (rev 46281)
@@ -334,6 +334,7 @@
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list