From 8b716655e2152bb7558e00a5061f1381f9a9bd6e Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 4 Feb 2019 20:38:01 +0100 Subject: Cleanup: replace BKE_id_copy_ex by BKE_id_copy where possible. That way it is obvious when we are using default ID copy behaviour, and when we are using advanced/specialized ones. --- source/blender/blenkernel/intern/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/texture.c') diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index e0e734081c9..02b3bac74ff 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -446,7 +446,7 @@ void BKE_texture_copy_data(Main *bmain, Tex *tex_dst, const Tex *tex_src, const Tex *BKE_texture_copy(Main *bmain, const Tex *tex) { Tex *tex_copy; - BKE_id_copy_ex(bmain, &tex->id, (ID **)&tex_copy, 0); + BKE_id_copy(bmain, &tex->id, (ID **)&tex_copy); return tex_copy; } -- cgit v1.2.3