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:
authorJoshua Leung <aligorith@gmail.com>2009-07-11 14:20:48 +0400
committerJoshua Leung <aligorith@gmail.com>2009-07-11 14:20:48 +0400
commita7837efb16d244acbdc32bfacb97279728e64252 (patch)
tree095d9c2ddf0e17848fa50261f1fe40a66e21733c /source/blender/editors/space_action
parenta7287165dbd4d0fbbe446a7bb71fd2b947bcf4f8 (diff)
2.5 - Added descriptions to all Animation Editor operators
DopeSheet and Graph Editor operators were missing these, since many of these operators were written before that field was added. NLA Editor's operators already have them.
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r--source/blender/editors/space_action/action_edit.c17
-rw-r--r--source/blender/editors/space_action/action_select.c4
2 files changed, 20 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c
index 8d2d342e28a..d4709e94e5e 100644
--- a/source/blender/editors/space_action/action_edit.c
+++ b/source/blender/editors/space_action/action_edit.c
@@ -101,7 +101,7 @@ static void get_keyframe_extents (bAnimContext *ac, float *min, float *max)
int filter;
/* get data to filter, from Action or Dopesheet */
- filter= (ANIMFILTER_VISIBLE | ANIMFILTER_SEL | ANIMFILTER_FOREDIT | ANIMFILTER_CURVESONLY);
+ filter= (ANIMFILTER_VISIBLE | ANIMFILTER_SEL | ANIMFILTER_CURVESONLY);
ANIM_animdata_filter(ac, &anim_data, filter, ac->data, ac->datatype);
/* set large values to try to override */
@@ -178,6 +178,7 @@ void ACT_OT_previewrange_set (wmOperatorType *ot)
/* identifiers */
ot->name= "Auto-Set Preview Range";
ot->idname= "ACT_OT_previewrange_set";
+ ot->description= "Set Preview Range based on extents of selected Keyframes.";
/* api callbacks */
ot->exec= actkeys_previewrange_exec;
@@ -225,6 +226,7 @@ void ACT_OT_view_all (wmOperatorType *ot)
/* identifiers */
ot->name= "View All";
ot->idname= "ACT_OT_view_all";
+ ot->description= "Reset viewable area to show full keyframe range.";
/* api callbacks */
ot->exec= actkeys_viewall_exec;
@@ -309,6 +311,7 @@ void ACT_OT_copy (wmOperatorType *ot)
/* identifiers */
ot->name= "Copy Keyframes";
ot->idname= "ACT_OT_copy";
+ ot->description= "Copy selected keyframes to the copy/paste buffer.";
/* api callbacks */
ot->exec= actkeys_copy_exec;
@@ -353,6 +356,7 @@ void ACT_OT_paste (wmOperatorType *ot)
/* identifiers */
ot->name= "Paste Keyframes";
ot->idname= "ACT_OT_paste";
+ ot->description= "Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame.";
/* api callbacks */
ot->exec= actkeys_paste_exec;
@@ -449,6 +453,7 @@ void ACT_OT_insert_keyframe (wmOperatorType *ot)
/* identifiers */
ot->name= "Insert Keyframes";
ot->idname= "ACT_OT_insert_keyframe";
+ ot->description= "Insert keyframes for the specified channels.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -526,6 +531,7 @@ void ACT_OT_duplicate (wmOperatorType *ot)
/* identifiers */
ot->name= "Duplicate Keyframes";
ot->idname= "ACT_OT_duplicate";
+ ot->description= "Make a copy of all selected keyframes.";
/* api callbacks */
ot->invoke= actkeys_duplicate_invoke;
@@ -593,6 +599,7 @@ void ACT_OT_delete (wmOperatorType *ot)
/* identifiers */
ot->name= "Delete Keyframes";
ot->idname= "ACT_OT_delete";
+ ot->description= "Remove all selected keyframes.";
/* api callbacks */
ot->invoke= WM_operator_confirm;
@@ -656,6 +663,7 @@ void ACT_OT_clean (wmOperatorType *ot)
/* identifiers */
ot->name= "Clean Keyframes";
ot->idname= "ACT_OT_clean";
+ ot->description= "Simplify F-Curves by removing closely spaced keyframes.";
/* api callbacks */
//ot->invoke= // XXX we need that number popup for this!
@@ -780,6 +788,7 @@ void ACT_OT_sample (wmOperatorType *ot)
/* identifiers */
ot->name= "Sample Keyframes";
ot->idname= "ACT_OT_sample";
+ ot->description= "Add keyframes on every frame between the selected keyframes.";
/* api callbacks */
ot->exec= actkeys_sample_exec;
@@ -855,6 +864,7 @@ void ACT_OT_extrapolation_type (wmOperatorType *ot)
/* identifiers */
ot->name= "Set Keyframe Extrapolation";
ot->idname= "ACT_OT_extrapolation_type";
+ ot->description= "Set extrapolation mode for selected F-Curves.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -925,6 +935,7 @@ void ACT_OT_interpolation_type (wmOperatorType *ot)
/* identifiers */
ot->name= "Set Keyframe Interpolation";
ot->idname= "ACT_OT_interpolation_type";
+ ot->description= "Set interpolation mode for the F-Curve segments starting from the selected keyframes.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -1013,6 +1024,7 @@ void ACT_OT_handle_type (wmOperatorType *ot)
/* identifiers */
ot->name= "Set Keyframe Handle Type";
ot->idname= "ACT_OT_handle_type";
+ ot->description= "Set type of handle for selected keyframes.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -1082,6 +1094,7 @@ void ACT_OT_frame_jump (wmOperatorType *ot)
/* identifiers */
ot->name= "Jump to Frame";
ot->idname= "ACT_OT_frame_jump";
+ ot->description= "Set the current frame to the average frame of the selected keyframes.";
/* api callbacks */
ot->exec= actkeys_framejump_exec;
@@ -1177,6 +1190,7 @@ void ACT_OT_snap (wmOperatorType *ot)
/* identifiers */
ot->name= "Snap Keys";
ot->idname= "ACT_OT_snap";
+ ot->description= "Snap selected keyframes to the times specified.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
@@ -1293,6 +1307,7 @@ void ACT_OT_mirror (wmOperatorType *ot)
/* identifiers */
ot->name= "Mirror Keys";
ot->idname= "ACT_OT_mirror";
+ ot->description= "Flip selected keyframes over the selected mirror line.";
/* api callbacks */
ot->invoke= WM_menu_invoke;
diff --git a/source/blender/editors/space_action/action_select.c b/source/blender/editors/space_action/action_select.c
index d9e6bb10ceb..ef1b392815d 100644
--- a/source/blender/editors/space_action/action_select.c
+++ b/source/blender/editors/space_action/action_select.c
@@ -185,6 +185,7 @@ void ACT_OT_select_all_toggle (wmOperatorType *ot)
/* identifiers */
ot->name= "Select All";
ot->idname= "ACT_OT_select_all_toggle";
+ ot->description= "Toggle selection of all keyframes.";
/* api callbacks */
ot->exec= actkeys_deselectall_exec;
@@ -348,6 +349,7 @@ void ACT_OT_select_border(wmOperatorType *ot)
/* identifiers */
ot->name= "Border Select";
ot->idname= "ACT_OT_select_border";
+ ot->description= "Select all keyframes within the specified region.";
/* api callbacks */
ot->invoke= WM_border_select_invoke;
@@ -565,6 +567,7 @@ void ACT_OT_select_column (wmOperatorType *ot)
/* identifiers */
ot->name= "Select All";
ot->idname= "ACT_OT_select_column";
+ ot->description= "Select all keyframes on the specified frame(s).";
/* api callbacks */
ot->exec= actkeys_columnselect_exec;
@@ -969,6 +972,7 @@ void ACT_OT_clickselect (wmOperatorType *ot)
/* identifiers */
ot->name= "Mouse Select Keys";
ot->idname= "ACT_OT_clickselect";
+ ot->description= "Select keyframes by clicking on them.";
/* api callbacks - absolutely no exec() this yet... */
ot->invoke= actkeys_clickselect_invoke;