Cleanup: BKE_library: remove 'test' param of id_copy.
[blender.git] / source / blender / blenkernel / intern / anim_sys.c
index ff84838bfa376f4a20e3b518692676b30cb92c4b..81bf11e2cd7ef126555257c17fc46dc68b145f0a 100644 (file)
@@ -284,8 +284,8 @@ AnimData *BKE_animdata_copy(Main *bmain, AnimData *adt, const int flag)
        /* make a copy of action - at worst, user has to delete copies... */
        if (do_action) {
                BLI_assert(bmain != NULL);
-               BKE_id_copy_ex(bmain, (ID *)dadt->action, (ID **)&dadt->action, 0, false);
-               BKE_id_copy_ex(bmain, (ID *)dadt->tmpact, (ID **)&dadt->tmpact, 0, false);
+               BKE_id_copy_ex(bmain, (ID *)dadt->action, (ID **)&dadt->action, 0);
+               BKE_id_copy_ex(bmain, (ID *)dadt->tmpact, (ID **)&dadt->tmpact, 0);
        }
        else if (do_id_user) {
                id_us_plus((ID *)dadt->action);