Cleanup: BKE_library: remove 'test' param of id_copy.
[blender.git] / source / blender / blenkernel / intern / curve.c
index d3e1a48dfd6d9fc5dd5588174a0a098867c39f4f..d49ba5b45675e9d446cb87cf3086a74df8c1e62f 100644 (file)
@@ -206,7 +206,7 @@ void BKE_curve_copy_data(Main *bmain, Curve *cu_dst, const Curve *cu_src, const
        cu_dst->batch_cache = NULL;
 
        if (cu_src->key && (flag & LIB_ID_COPY_SHAPEKEY)) {
-               BKE_id_copy_ex(bmain, &cu_src->key->id, (ID **)&cu_dst->key, flag, false);
+               BKE_id_copy_ex(bmain, &cu_src->key->id, (ID **)&cu_dst->key, flag);
        }
 
        cu_dst->editnurb = NULL;
@@ -216,7 +216,7 @@ void BKE_curve_copy_data(Main *bmain, Curve *cu_dst, const Curve *cu_src, const
 Curve *BKE_curve_copy(Main *bmain, const Curve *cu)
 {
        Curve *cu_copy;
-       BKE_id_copy_ex(bmain, &cu->id, (ID **)&cu_copy, LIB_ID_COPY_SHAPEKEY, false);
+       BKE_id_copy_ex(bmain, &cu->id, (ID **)&cu_copy, LIB_ID_COPY_SHAPEKEY);
        return cu_copy;
 }