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/lightprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/lightprobe.c') diff --git a/source/blender/blenkernel/intern/lightprobe.c b/source/blender/blenkernel/intern/lightprobe.c index cb7f546a4b4..ca537ed3742 100644 --- a/source/blender/blenkernel/intern/lightprobe.c +++ b/source/blender/blenkernel/intern/lightprobe.c @@ -76,7 +76,7 @@ void BKE_lightprobe_copy_data( LightProbe *BKE_lightprobe_copy(Main *bmain, const LightProbe *probe) { LightProbe *probe_copy; - BKE_id_copy_ex(bmain, &probe->id, (ID **)&probe_copy, 0, false); + BKE_id_copy_ex(bmain, &probe->id, (ID **)&probe_copy, 0); return probe_copy; } -- cgit v1.2.3