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-07 04:54:32 +0400
committerJoshua Leung <aligorith@gmail.com>2008-07-07 04:54:32 +0400
commit707301ad1b502fbbb552ae8827402f2d67ba881e (patch)
tree3abbf43ff437dca3b55789038339ee98bc30f29d /source/blender/src
parentdd5148e265ac519776da5df78c6186eaefc7e7b8 (diff)
Little tweak to timeline_force_draw, so that button windows are updated properly
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/edittime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/edittime.c b/source/blender/src/edittime.c
index 5a10ea65738..2c37a0eb20f 100644
--- a/source/blender/src/edittime.c
+++ b/source/blender/src/edittime.c
@@ -803,11 +803,11 @@ static void timeline_force_draw(short val)
if(sa->spacetype==SPACE_VIEW3D) {
if(sa==samin || (val & TIME_ALL_3D_WIN)) dodraw= 1;
}
- else if(ELEM6(sa->spacetype, SPACE_NLA, SPACE_IPO, SPACE_SEQ, SPACE_BUTS, SPACE_ACTION, SPACE_SOUND)) {
+ else if(ELEM5(sa->spacetype, SPACE_NLA, SPACE_IPO, SPACE_SEQ, SPACE_ACTION, SPACE_SOUND)) {
if(val & TIME_ALL_ANIM_WIN) dodraw= 1;
}
else if(sa->spacetype==SPACE_BUTS) {
- if(val & TIME_ALL_BUTS_WIN) dodraw= 1;
+ if(val & TIME_ALL_BUTS_WIN) dodraw= 2;
}
else if(sa->spacetype==SPACE_IMAGE) {
if (val & TIME_ALL_IMAGE_WIN) dodraw = 1;