Bugfix: select Vertex Group in Outliner now updates 3d view properly.

This commit is contained in:
Ton Roosendaal 2005-10-23 19:27:45 +00:00
parent 20b23e3b5e
commit 847a584744

@ -1200,6 +1200,8 @@ static int tree_element_active_defgroup(TreeElement *te, TreeStoreElem *tselem,
ob= (Object *)tselem->id; ob= (Object *)tselem->id;
if(set) { if(set) {
ob->actdef= te->index+1; ob->actdef= te->index+1;
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, ob->ipowin);
} }
else { else {
if(ob==OBACT) if(ob==OBACT)