From cff81852cd24387d445cd203121bd36618117fa2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 12 Apr 2007 09:35:56 +0000 Subject: [PATCH] Bugfix #6531 Dupli-verts for mball: when setting "dupli verts" for first time, the deps graph had to be remade. --- source/blender/src/buttons_object.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 7b675162141..a76fbe9cf2f 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -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;