diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-07-12 10:49:33 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-07-12 10:49:33 +0400 |
commit | 5f15b164c549b336e1c5ef0dff2aaede056fd6f5 (patch) | |
tree | b90111e042c578a59b86bf993b9007eeca703032 /source/blender/src | |
parent | a4eb0d6c2f29341c9c48e4c146ce7bcde0f58fde (diff) |
Patch #17285: fix for bug #14685: frame counter not always updating while scrubbing
Patch submitted by Roelf De Kock (kiemdoder)
The parts of the patch affecting the timeline were have not been committed, as there was a better solution.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/editsound.c | 2 | ||||
-rw-r--r-- | source/blender/src/space.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/editsound.c b/source/blender/src/editsound.c index 1cb7ec276cb..05eb094a7c2 100644 --- a/source/blender/src/editsound.c +++ b/source/blender/src/editsound.c @@ -148,7 +148,7 @@ void winqreadsoundspace(ScrArea *sa, void *spacedata, BWinEvent *evt) first= 0; CFRA= cfra; update_for_newframe(); - force_draw_plus(SPACE_VIEW3D, 1); + force_draw_all(0); } else PIL_sleep_ms(30); diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 3b8bb4c3929..58420604c83 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -4844,9 +4844,9 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt) if( cfra!=CFRA || first ) { first= 0; - + CFRA= cfra; - force_draw(0); + force_draw_all(0); update_for_newframe(); /* for audio scrubbing */ } else PIL_sleep_ms(30); |