Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-07-12 10:49:33 +0400
committerJoshua Leung <aligorith@gmail.com>2008-07-12 10:49:33 +0400
commit5f15b164c549b336e1c5ef0dff2aaede056fd6f5 (patch)
treeb90111e042c578a59b86bf993b9007eeca703032 /source/blender/src
parenta4eb0d6c2f29341c9c48e4c146ce7bcde0f58fde (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.c2
-rw-r--r--source/blender/src/space.c4
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);