[Bf-blender-cvs] [7c38ba0] master: Audio library, early exit when animation is found

Antony Riakiotakis noreply at git.blender.org
Thu Mar 5 18:50:57 CET 2015


Commit: 7c38ba0a9eba63b9a2fc53b3d9f9cdc896269754
Author: Antony Riakiotakis
Date:   Thu Mar 5 18:49:59 2015 +0100
Branches: master
https://developer.blender.org/rB7c38ba0a9eba63b9a2fc53b3d9f9cdc896269754

Audio library, early exit when animation is found

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

M	source/blender/blenkernel/intern/sound.c

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

diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 25ac3c9..b9d7066 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -617,6 +617,7 @@ void sound_seek_scene(struct Main *bmain, struct Scene *scene)
 	for (screen = bmain->screen.first; screen; screen = screen->id.next) {
 		if (screen->animtimer) {
 			animation_playing = 1;
+			break;
 		}
 	}




More information about the Bf-blender-cvs mailing list