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/brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/brush.c') diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 1732a134f1a..50ff972b774 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -590,7 +590,7 @@ void BKE_brush_copy_data(Main *UNUSED(bmain), Brush *brush_dst, const Brush *bru Brush *BKE_brush_copy(Main *bmain, const Brush *brush) { Brush *brush_copy; - BKE_id_copy_ex(bmain, &brush->id, (ID **)&brush_copy, 0, false); + BKE_id_copy_ex(bmain, &brush->id, (ID **)&brush_copy, 0); return brush_copy; } -- cgit v1.2.3