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>2007-08-05 13:21:29 +0400
committerJoshua Leung <aligorith@gmail.com>2007-08-05 13:21:29 +0400
commitc4114780d43f2cc973eaad193c61127e9ee54b28 (patch)
treedbc551eee68dde0e0104deef4d028979dc1efca6 /source/blender/src/editkey.c
parent7dfbe481e26f1b067315ee067f772a9195faf7f2 (diff)
Little code cleanup.
bsystem_time was being called with an extra variable, which was useless. Most of the places that called it, were passing NULL for that variable anyway. I've also cleaned up that function a bit, but the underlying problems with that part of the code still exist (EVIL GLOBALS that are exported for frame_to_float), for mblur and fields rendering features. That remains for another time.
Diffstat (limited to 'source/blender/src/editkey.c')
-rw-r--r--source/blender/src/editkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editkey.c b/source/blender/src/editkey.c
index 02f8e650d90..c557b8df259 100644
--- a/source/blender/src/editkey.c
+++ b/source/blender/src/editkey.c
@@ -381,7 +381,7 @@ static KeyBlock *add_keyblock(Key *key)
if(key->type == KEY_RELATIVE)
kb->pos= curpos+0.1;
else {
- curpos= bsystem_time(0, 0, (float)CFRA, 0.0);
+ curpos= bsystem_time(0, (float)CFRA, 0.0);
if(calc_ipo_spec(key->ipo, KEY_SPEED, &curpos)==0) {
curpos /= 100.0;
}