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:
authorMartin Poirier <theeth@yahoo.com>2006-04-16 20:50:26 +0400
committerMartin Poirier <theeth@yahoo.com>2006-04-16 20:50:26 +0400
commit1c89ae39cce31834d22124237b8071c46365418a (patch)
tree73edfa8b40c1ae2dce5c32f92fbd38f464214de3 /source/blender/src/toets.c
parent342bb99a19579531dcc4b5dbc1d4b3862ba91f04 (diff)
=== 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.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c8
1 files changed, 4 insertions, 4 deletions
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++;