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/space_clip
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/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_ops.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index 06573136205..b05d204b07b 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -402,6 +402,7 @@ void CLIP_OT_view_pan(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_zoom(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_zoom_in(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_zoom_out(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_zoom_ratio(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_all(wmOperatorType *ot)
/* 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 @@ void CLIP_OT_view_selected(wmOperatorType *ot)
/* identifiers */
ot->name = "View Selected";
ot->idname = "CLIP_OT_view_selected";
+ ot->description = "View all selected elements";
/* api callbacks */
ot->exec = view_selected_exec;