[Bf-blender-cvs] [050f28f] master: Remove wrong back jump detection on looping

Antony Riakiotakis noreply at git.blender.org
Mon Mar 30 18:27:58 CEST 2015


Commit: 050f28f03f968cbee7bd2640aa67d43d80713c62
Author: Antony Riakiotakis
Date:   Mon Mar 30 18:27:08 2015 +0200
Branches: master
https://developer.blender.org/rB050f28f03f968cbee7bd2640aa67d43d80713c62

Remove wrong back jump detection on looping

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

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 a192a50..25571c0 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -3529,8 +3529,12 @@ static int screen_animation_step(bContext *C, wmOperator *UNUSED(op), const wmEv
 			sad->flag |= ANIMPLAY_FLAG_JUMPED;
 		}
 		
-		if (sad->flag & ANIMPLAY_FLAG_JUMPED)
+		if (sad->flag & ANIMPLAY_FLAG_JUMPED) {
 			BKE_sound_seek_scene(bmain, scene);
+			#ifdef PROFILE_AUDIO_SYNCH
+			old_frame = CFRA;
+			#endif
+		}
 		
 		/* since we follow drawflags, we can't send notifier but tag regions ourselves */
 		ED_update_for_newframe(bmain, scene, 1);




More information about the Bf-blender-cvs mailing list