Dupli-verts for mball: when setting "dupli verts" for first time, the deps
graph had to be remade.
This commit is contained in:
2007-04-12 09:35:56 +00:00
parent ac8116c4b2
commit cff81852cd

View File

@@ -1737,6 +1737,8 @@ void do_object_panels(unsigned short event)
break;
case B_DUPLI_VERTS:
ob->transflag &= ~(OB_DUPLIFRAMES|OB_DUPLIFACES|OB_DUPLIGROUP);
DAG_scene_sort(G.scene);
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSOBJECT, 0);
break;