From 1c89ae39cce31834d22124237b8071c46365418a Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Sun, 16 Apr 2006 16:50:26 +0000 Subject: === Animation === Patch #4044 patch to change the step when changing frame with up or down arrow keys. This adds a per Scene setting to specify the number of frames skipped by the up and down arrow. This setting can be changed in the Timeline header and in the Anim/Playback section of the Scene settings. Upon loading a file without that setting or creating a new scene, it is set to 10 Also fixed the Start and End frame buttons in the Scene buttons to do a proper refresh. --- source/blender/src/toets.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/src/toets.c') diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 972b5a0af06..f470e0a43e8 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -544,11 +544,11 @@ int blenderqread(unsigned short event, short val) if (G.qual==LR_ALTKEY) mainwindow_toggle_fullscreen(0); else if(G.qual==0) - CFRA-= 10; + CFRA-= G.scene->jumpframe; } #else if((event==DOWNARROWKEY)&&(G.qual==0)) - CFRA-= 10; + CFRA-= G.scene->jumpframe; #endif else if((event==LEFTARROWKEY)&&(G.qual==0)) CFRA--; @@ -572,11 +572,11 @@ int blenderqread(unsigned short event, short val) if(G.qual==LR_ALTKEY) mainwindow_toggle_fullscreen(1); else if(G.qual==0) - CFRA+= 10; + CFRA+= G.scene->jumpframe; } #else if((event==UPARROWKEY)&&(G.qual==0)) - CFRA+= 10; + CFRA+= G.scene->jumpframe; #endif else if((event==RIGHTARROWKEY)&&(G.qual==0)) CFRA++; -- cgit v1.2.3