diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-07 21:20:44 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-07 21:20:44 +0300 |
commit | ac0bb78a2029b40e9e85697d4b822197b9906bd5 (patch) | |
tree | 5d139a9344c22f5cc03cdde804d0d7caf43ce861 /source/blender/src/editaction.c | |
parent | 16951736882773a383f04eb2809fa9b341bef9c2 (diff) |
Tweaked the force_draw() calls, to allow headerprint() to work while
doing a transform. Solves bug reported by Brecht about this.
Diffstat (limited to 'source/blender/src/editaction.c')
-rw-r--r-- | source/blender/src/editaction.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index d01528cc04c..1363a302ca6 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -1255,15 +1255,10 @@ void transform_actionchannel_keys(char mode) if (G.saction->lock){ do_all_actions(); - allqueue (REDRAWVIEW3D, 0); - allqueue (REDRAWACTION, 0); - allqueue (REDRAWIPO, 0); - allqueue(REDRAWNLA, 0); - force_draw_all(); + force_draw_all(0); } else { - addqueue (curarea->win, REDRAWALL, 0); - force_draw (); + force_draw(0); } } @@ -1445,11 +1440,11 @@ void transform_meshchannel_keys(char mode, Key *key) allqueue (REDRAWACTION, 0); allqueue (REDRAWIPO, 0); allqueue(REDRAWNLA, 0); - force_draw_all(); + force_draw_all(0); } else { addqueue (curarea->win, REDRAWALL, 0); - force_draw (); + force_draw(0); } } @@ -2454,9 +2449,9 @@ void winqreadactionspace(ScrArea *sa, void *spacedata, BWinEvent *evt) if( cfra!=CFRA ) { CFRA= cfra; update_for_newframe(); - force_draw_plus(SPACE_VIEW3D); - force_draw_plus(SPACE_IPO); - force_draw_plus(SPACE_BUTS); + force_draw_plus(SPACE_VIEW3D, 1); + force_draw_plus(SPACE_IPO, 1); + force_draw_plus(SPACE_BUTS, 1); } } while(get_mbut() & mousebut); |