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:
authorTon Roosendaal <ton@blender.org>2004-11-07 21:20:44 +0300
committerTon Roosendaal <ton@blender.org>2004-11-07 21:20:44 +0300
commitac0bb78a2029b40e9e85697d4b822197b9906bd5 (patch)
tree5d139a9344c22f5cc03cdde804d0d7caf43ce861 /source/blender/src/editipo.c
parent16951736882773a383f04eb2809fa9b341bef9c2 (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/editipo.c')
-rw-r--r--source/blender/src/editipo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c
index f87cd54fe09..297681a7421 100644
--- a/source/blender/src/editipo.c
+++ b/source/blender/src/editipo.c
@@ -2605,7 +2605,7 @@ void mouse_select_ipo()
update_editipo_flags();
- force_draw();
+ force_draw(0);
BIF_undo_push("Select Ipo");
if(G.sipo->showkey && G.sipo->blocktype==ID_OB) {
@@ -4813,16 +4813,16 @@ void transform_ipo(int mode)
/* update realtime */
if(G.sipo->lock) {
if(G.sipo->blocktype==ID_MA) {
- force_draw_plus(SPACE_BUTS);
+ force_draw_plus(SPACE_BUTS, 0);
}
else if(G.sipo->blocktype==ID_KE) {
do_ob_key(OBACT);
makeDispList(OBACT);
- force_draw_plus(SPACE_VIEW3D);
+ force_draw_plus(SPACE_VIEW3D, 0);
}
else if(G.sipo->blocktype==ID_AC) {
do_all_actions();
- force_draw_all();
+ force_draw_all(0);
}
else if(G.sipo->blocktype==ID_OB) {
Base *base= FIRSTBASE;
@@ -4831,12 +4831,12 @@ void transform_ipo(int mode)
if(base->object->ipo==G.sipo->ipo) do_ob_ipo(base->object);
base= base->next;
}
- force_draw_plus(SPACE_VIEW3D);
+ force_draw_plus(SPACE_VIEW3D, 0);
}
- else force_draw();
+ else force_draw(0);
}
else {
- force_draw();
+ force_draw(0);
}
firsttime= 0;
}