[Bf-blender-cvs] [0293378] gooseberry: Test to check accuracy of claims about openalsoft being fixable by a better config.

Antony Riakiotakis noreply at git.blender.org
Thu Apr 23 13:01:27 CEST 2015


Commit: 0293378aa48e6f3283da9e24c8263e531b1a3f8b
Author: Antony Riakiotakis
Date:   Thu Apr 23 13:01:03 2015 +0200
Branches: gooseberry
https://developer.blender.org/rB0293378aa48e6f3283da9e24c8263e531b1a3f8b

Test to check accuracy of claims about openalsoft being fixable by a
better config.

===================================================================

M	source/blender/editors/screen/screen_ops.c

===================================================================

diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index c723a30..cd5057a 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -3445,13 +3445,7 @@ static int screen_animation_step(bContext *C, wmOperator *UNUSED(op), const wmEv
 		    (sad->flag & ANIMPLAY_FLAG_REVERSE) == false &&
 		    finite(time = BKE_sound_sync_scene(scene)))
 		{
-			double newfra = (double)time * FPS;
-
-			/* give some space here to avoid jumps */
-			if (newfra + 0.5 > scene->r.cfra && newfra - 0.5 < scene->r.cfra)
-				scene->r.cfra++;
-			else
-				scene->r.cfra = newfra + 0.5;
+			scene->r.cfra = (double)time * FPS;
 
 #ifdef PROFILE_AUDIO_SYNCH
 			newfra_int = scene->r.cfra;




More information about the Bf-blender-cvs mailing list