2.5 audio cleanup:
[blender.git] / source / blender / editors / screen / screen_edit.c
index 817959aef13fbd4e166a5b179ba6e82aad034456..5519b2609a1494dda08edc354fee7278d5fcafa9 100644 (file)
@@ -1477,7 +1477,7 @@ void ED_screen_animation_timer(bContext *C, int redraws, int enable)
                screen->animtimer= WM_event_add_window_timer(win, TIMER0, (1.0/FPS));
                sad->ar= CTX_wm_region(C);
                sad->redraws= redraws;
-               sad->reverse= (enable < 0);
+               sad->flag= (enable < 0) ? ANIMPLAY_FLAG_REVERSE : 0;
                screen->animtimer->customdata= sad;
                
        }
@@ -1503,7 +1503,6 @@ unsigned int ED_screen_view3d_layers(bScreen *screen)
 
 
 /* results in fully updated anim system */
-/* in future sound should be on WM level, only 1 sound can play! */
 void ED_update_for_newframe(const bContext *C, int mute)
 {
        bScreen *screen= CTX_wm_screen(C);