forked from bartvdbraak/blender
Potential fix for #1684
Buttons (editingbuttons) flicker when adding armature bones. Added proper redraw event extra for buttons menu
This commit is contained in:
parent
6321adf0d1
commit
ca2b8f00eb
@ -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 */
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user