svn merge ^/trunk/blender -r50091:50107
[blender.git] / source / blender / blenkernel / intern / scene.c
index fc261d48132e74ff5d0f66521622c853e5c69c89..c0ec1cc9297bf3f279e14b1dfe64d44eee59d8fe 100644 (file)
@@ -156,7 +156,8 @@ Scene *BKE_scene_copy(Scene *sce, int type)
                BKE_keyingsets_copy(&(scen->keyingsets), &(sce->keyingsets));
 
                if (sce->nodetree) {
-                       scen->nodetree = ntreeCopyTree(sce->nodetree); /* copies actions */
+                       /* ID's are managed on both copy and switch */
+                       scen->nodetree = ntreeCopyTree(sce->nodetree);
                        ntreeSwitchID(scen->nodetree, &sce->id, &scen->id);
                }