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>2012-10-15 07:52:27 +0400
committerJoshua Leung <aligorith@gmail.com>2012-10-15 07:52:27 +0400
commitc483a54207d78acea785566e82f54145457466ec (patch)
treefae81c63ca6eaf4d1f0e67d20d01d4f760195c93 /source/blender/editors/space_action/action_ops.c
parent75198e98bba86dd7471883e8f9ec388486404cd4 (diff)
Making "Jump to Keyframes" operator (for Action/Graph Editors) more obvious
This operator used to be called "Jump to Frame". It basically takes the midpoint (frame number and/or value) of selected keyframes, and positions the current frame (or2d-cursor in Graph Editor) at this point. The hotkey for this is now Ctrl-G (i.e. as it's similar to a "Goto Frame" feature). It is also now in the Key menu instead of in the relatively obscure View menu, even though it doesn't actually result in any keyframe edits taking place. (Also, fixed a typo/grammer issue with one of Remove Bone Group operator)
Diffstat (limited to 'source/blender/editors/space_action/action_ops.c')
-rw-r--r--source/blender/editors/space_action/action_ops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_action/action_ops.c b/source/blender/editors/space_action/action_ops.c
index e4a161e3e22..cca71bb1331 100644
--- a/source/blender/editors/space_action/action_ops.c
+++ b/source/blender/editors/space_action/action_ops.c
@@ -168,9 +168,8 @@ static void action_keymap_keyframes(wmKeyConfig *keyconf, wmKeyMap *keymap)
/* action_edit.c */
- /* snap - current frame to selected keys */
- // TODO: maybe since this is called jump, we're better to have it on <something>-J?
- WM_keymap_add_item(keymap, "ACTION_OT_frame_jump", SKEY, KM_PRESS, KM_CTRL | KM_SHIFT, 0);
+ /* jump to selected keyframes */
+ WM_keymap_add_item(keymap, "ACTION_OT_frame_jump", GKEY, KM_PRESS, KM_CTRL, 0);
/* menu + single-step transform */
WM_keymap_add_item(keymap, "ACTION_OT_snap", SKEY, KM_PRESS, KM_SHIFT, 0);