all areas of blender now do node tree id user count management, except for some excep...
[blender.git] / source / blender / blenkernel / intern / world.c
index 418d7da6b8538666c41bc6506167b3d6125cd7c6..dd71e43182e9e2a0646f0237d66682bc042ae996 100644 (file)
@@ -67,7 +67,7 @@ void BKE_world_free(World *wrld)
 
        /* is no lib link block, but world extension */
        if (wrld->nodetree) {
-               ntreeFreeTree_ex(wrld->nodetree, FALSE); /* TODO: do_id_user arg needs checking */
+               ntreeFreeTree(wrld->nodetree);
                MEM_freeN(wrld->nodetree);
        }
 
@@ -129,7 +129,7 @@ World *BKE_world_copy(World *wrld)
        }
 
        if (wrld->nodetree) {
-               wrldn->nodetree = ntreeCopyTree_ex(wrld->nodetree, FALSE); /* TODO: do_id_user arg needs checking */
+               wrldn->nodetree = ntreeCopyTree(wrld->nodetree);
        }
        
        if (wrld->preview)