diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-07-07 04:54:32 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-07-07 04:54:32 +0400 |
commit | 707301ad1b502fbbb552ae8827402f2d67ba881e (patch) | |
tree | 3abbf43ff437dca3b55789038339ee98bc30f29d /source/blender | |
parent | dd5148e265ac519776da5df78c6186eaefc7e7b8 (diff) |
Little tweak to timeline_force_draw, so that button windows are updated properly
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/edittime.c | 4 |
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; |