diff options
author | Joerg Mueller <nexyon@gmail.com> | 2011-09-11 16:24:11 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2011-09-11 16:24:11 +0400 |
commit | ab2fc6f106f3dc29c7a07b348facf61eac11fa05 (patch) | |
tree | b15f2e6fa97ec170b1862589a67a8b00b471fbe0 /source | |
parent | 5f62f5c6fef05018d4a2018c6d09b11a7d609217 (diff) |
Audio:
* Fix for high quality upsampling which was wrong.
* Fix for doppler effects which were calculated wrong for scenes.
* Improved animation evaluation at the beginning and end of a scene.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 72dbbd9da9a..19cae6aa67d 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -691,7 +691,7 @@ static int bake_animation_exec(bContext *C, wmOperator *UNUSED(op)) update_animation_flags_exec(C, NULL); - for(cfra = scene->r.sfra; cfra <= scene->r.efra; cfra++) + for(cfra = scene->r.sfra > 0 ? scene->r.sfra - 1 : 0; cfra <= scene->r.efra + 1; cfra++) { scene->r.cfra = cfra; scene_update_for_newframe(bmain, scene, scene->lay); |