From 7636e9785dc11fc9f11f89ba055f414e6efe43fa Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 4 Feb 2019 15:34:31 +0100 Subject: Cleanup: BKE_library: remove 'test' param of id_copy. This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;) --- source/blender/blenkernel/intern/gpencil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/gpencil.c') diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index e1d906e09dc..c85616613ae 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -637,7 +637,7 @@ void BKE_gpencil_copy_data(bGPdata *gpd_dst, const bGPdata *gpd_src, const int U bGPdata *BKE_gpencil_copy(Main *bmain, const bGPdata *gpd) { bGPdata *gpd_copy; - BKE_id_copy_ex(bmain, &gpd->id, (ID **)&gpd_copy, 0, false); + BKE_id_copy_ex(bmain, &gpd->id, (ID **)&gpd_copy, 0); return gpd_copy; } @@ -662,7 +662,7 @@ bGPdata *BKE_gpencil_data_duplicate(Main *bmain, const bGPdata *gpd_src, bool in } else { BLI_assert(bmain != NULL); - BKE_id_copy_ex(bmain, &gpd_src->id, (ID **)&gpd_dst, 0, false); + BKE_id_copy_ex(bmain, &gpd_src->id, (ID **)&gpd_dst, 0); } /* Copy internal data (layers, etc.) */ -- cgit v1.2.3