diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-30 01:27:07 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-30 01:27:07 +0400 |
commit | 4664db487297f41c20e30de1598e6f5dadabcd5e (patch) | |
tree | dea7fc1ff40c6f33524dc2966216ba74aa1c9197 /source/blender/src/header_nla.c | |
parent | 4ad59e30a05f10355cf88d8e94dfd51bfbc66ca5 (diff) |
SHIFT+S snap to frame for both Action and NLA window.
Diffstat (limited to 'source/blender/src/header_nla.c')
-rw-r--r-- | source/blender/src/header_nla.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/header_nla.c b/source/blender/src/header_nla.c index 1f885c67215..636334e2e9a 100644 --- a/source/blender/src/header_nla.c +++ b/source/blender/src/header_nla.c @@ -273,6 +273,9 @@ static void do_nla_stripmenu(void *arg, int event) case 9: /* reset start/end of action */ reset_action_strips(2); break; + case 10: /* snap to frame */ + snap_action_strips(); + break; } } @@ -288,6 +291,7 @@ static uiBlock *nla_stripmenu(void *arg_unused) uiDefIconTextBlockBut(block, nla_strip_transformmenu, NULL, ICON_RIGHTARROW_THIN, "Transform", 0, yco-=20, 120, 20, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Reset Strip Size|ALT S", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 8, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Reset Action Start/End|ALT S", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 9, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Snap to Frame|Shift S", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 10, ""); uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); |