Missing updates for Textured objects in 3d window, using copy buttons.
This commit is contained in:
Ton Roosendaal 2005-09-20 10:26:23 +00:00
parent 0746e7edb3
commit bb59977d79
2 changed files with 2 additions and 0 deletions

@ -3253,6 +3253,7 @@ void do_fpaintbuts(unsigned short event)
tface++; tface++;
} }
} }
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
do_shared_vertexcol(me); do_shared_vertexcol(me);
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWIMAGE, 0); allqueue(REDRAWIMAGE, 0);

@ -1930,6 +1930,7 @@ void special_editmenu(void)
} }
} }
} }
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSEDIT, 0);
BIF_undo_push("Change texture face"); BIF_undo_push("Change texture face");