fix for separate loose parts doing full depsgraph rebuild for every object split off.

This commit is contained in:
2012-07-19 10:23:25 +00:00
parent 4bc46b18d1
commit 9c8edae7d4
5 changed files with 17 additions and 4 deletions

View File

@@ -1369,6 +1369,8 @@ static int separate_exec(bContext *C, wmOperator *op)
/* 1. duplicate the object and data */
newbase = ED_object_add_duplicate(bmain, scene, oldbase, 0); /* 0 = fully linked */
DAG_scene_sort(bmain, scene);
ED_base_object_select(newbase, BA_DESELECT);
newob = newbase->object;