From 6292fb4cbd43c087c06886be7517a0dc07da9b43 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 5 May 2012 17:00:11 +0000 Subject: code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string. --- source/blender/editors/mesh/mesh_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 49e472fada4..668f34c60d3 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -560,7 +560,7 @@ static int drop_named_image_invoke(bContext *C, wmOperator *op, wmEvent *event) } else { RNA_string_get(op->ptr, "name", name); - ima = (Image *)BKE_libblock_find_name("IM", name); + ima = (Image *)BKE_libblock_find_name(ID_IM, name); } if (!ima) { -- cgit v1.2.3