all areas of blender now do node tree id user count management, except for some excep...
[blender.git] / source / blender / blenkernel / intern / node.c
index b67288f63fd84a96a32451b312adae9452a60322..37562686a99479f7aeaabadefb564f20e847f406 100644 (file)
@@ -1188,7 +1188,7 @@ void ntreeMakeLocal(bNodeTree *ntree)
        }
        else if (cd.local && cd.lib) {
                /* this is the mixed case, we copy the tree and assign it to local users */
-               bNodeTree *newtree = ntreeCopyTree_ex(ntree, FALSE); /* TODO: do_id_user arg needs checking */
+               bNodeTree *newtree = ntreeCopyTree(ntree);
                
                newtree->id.us = 0;
                
@@ -1299,7 +1299,7 @@ void ntreeLocalMerge(bNodeTree *localtree, bNodeTree *ntree)
        if (ntreetype->local_merge)
                ntreetype->local_merge(localtree, ntree);
 
-       ntreeFreeTree_ex(localtree, FALSE); /* TODO: do_id_user arg needs checking */
+       ntreeFreeTree_ex(localtree, FALSE);
        MEM_freeN(localtree);
 }