diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-05-03 06:50:07 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-05-03 06:50:07 +0400 |
commit | f190e4e0e20d73f9fdeb75680c30fe6b0bb7428b (patch) | |
tree | 53fc70e13823fb168117ec4df3482e31158bdfd3 /source/blender/src/header_ipo.c | |
parent | 5ad6b3f8dda50f86a5441b48539643a00a8914b8 (diff) |
Added missing menu entries for Preview Range tools
Diffstat (limited to 'source/blender/src/header_ipo.c')
-rw-r--r-- | source/blender/src/header_ipo.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index 54a3790574b..81d94725a90 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -745,6 +745,12 @@ static void do_ipo_viewmenu(void *arg, int event) case 12: G.sipo->flag ^= SIPO_LOCK_VIEW; break; + case 13: /* Set Preview Range */ + anim_previewrange_set(); + break; + case 14: /* Clear Preview Range */ + anim_previewrange_clear(); + break; } } @@ -775,10 +781,17 @@ static uiBlock *ipo_viewmenu(void *arg_unused) uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Play Animation|Alt A", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 6, ""); - uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Play Animation in 3D View|Alt Shift A", 0, yco-=20, - menuwidth, 19, NULL, 0.0, 0.0, 1, 7, ""); + //uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Play Animation in 3D View|Alt Shift A", 0, yco-=20, + // menuwidth, 19, NULL, 0.0, 0.0, 1, 7, ""); uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Set Preview Range|Ctrl P", 0, yco-=20, + menuwidth, 19, NULL, 0.0, 0.0, 1, 13, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Clear Preview Range|Alt P", 0, yco-=20, + menuwidth, 19, NULL, 0.0, 0.0, 1, 14, ""); + + uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Center on Current Frame|Shift C", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 10, ""); |