Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-05-04 19:00:36 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-05-04 19:00:36 +0400
commitb178ee5cd0cca580d000475ad95f64148faa7479 (patch)
tree70ed1f74344be734a5012743dab3643ec17d845d /source/blender/editors/curve
parent133bdac1d0cfe92084361f59bbd44b2ecd8127eb (diff)
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.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c20
-rw-r--r--source/blender/editors/curve/editfont.c1
2 files changed, 21 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 58c091dec11..09c01c2bf8c 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1416,6 +1416,7 @@ void CURVE_OT_separate(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_de_select_first(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_de_select_last(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_all(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_hide(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_reveal(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_make_segment(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_spin(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_vertex_add(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_linked(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_linked_pick(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_row(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_next(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_previous(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_more(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_less(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_select_random(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_shade_smooth(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_shade_flat(wmOperatorType *ot)
/* 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 @@ void CURVE_OT_tilt_clear(wmOperatorType *ot)
/* 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;
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index cca5dd7a37b..0a976e6ed6b 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -1696,6 +1696,7 @@ void FONT_OT_open(wmOperatorType *ot)
/* 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;