all areas of blender now do node tree id user count management, except for some excep...
[blender.git] / source / blender / blenkernel / intern / library.c
index f1d1d128c16e4c4a62fc75540e403a10f038a3e6..e073cfdf76df57c675b1c4c78e8c36168dae8fd8 100644 (file)
@@ -348,7 +348,7 @@ int id_copy(ID *id, ID **newid, int test)
                        if (!test) *newid = (ID *)BKE_action_copy((bAction *)id);
                        return 1;
                case ID_NT:
-                       if (!test) *newid = (ID *)ntreeCopyTree_ex((bNodeTree *)id, FALSE); /* TODO: do_id_user arg needs checking */
+                       if (!test) *newid = (ID *)ntreeCopyTree((bNodeTree *)id);
                        return 1;
                case ID_BR:
                        if (!test) *newid = (ID *)BKE_brush_copy((Brush *)id);
@@ -881,7 +881,7 @@ void BKE_libblock_free(ListBase *lb, void *idv)
                        BKE_action_free((bAction *)id);
                        break;
                case ID_NT:
-                       ntreeFreeTree_ex((bNodeTree *)id, FALSE); /* TODO: do_id_user arg needs checking */
+                       ntreeFreeTree((bNodeTree *)id);
                        break;
                case ID_BR:
                        BKE_brush_free((Brush *)id);