diff options
author | Ton Roosendaal <ton@blender.org> | 2004-10-29 01:50:32 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-10-29 01:50:32 +0400 |
commit | ca2b8f00eb7f7e58a246f307fc75b353de9002a9 (patch) | |
tree | 1128e4edeaea644f4f12dcc1922dd68532abff15 /source | |
parent | 6321adf0d11f77eb526a3402e188c6591e009c80 (diff) |
Potential fix for #1684
Buttons (editingbuttons) flicker when adding armature bones. Added proper
redraw event extra for buttons menu
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/drawview.c | 2 | ||||
-rw-r--r-- | source/blender/src/editarmature.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 1b8d63158d0..2599ac23c8d 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -2016,7 +2016,7 @@ void drawview3d_render(struct View3D *v3d) ob= ob->id.next; } - /* first deaw set */ + /* first draw set */ if(G.scene->set) { /* patch: color remains constant */ diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index e1c2f52d350..aedab4fd68d 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -1682,7 +1682,8 @@ static void add_bone_input (Object *ob) Mat4One (bone->obmat); bone->size[0]=bone->size[1]=bone->size[2]=1.0F; - force_draw(); + force_draw_plus(SPACE_BUTS); + while(qtest()) { event= extern_qread(&val); if(val) { |