Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-05 21:00:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-05 21:00:11 +0400
commit6292fb4cbd43c087c06886be7517a0dc07da9b43 (patch)
treebb4974c8fc57411bf872eb9ac04fdfd7f6734240 /source/blender/editors/mesh/mesh_data.c
parent9b37bf21f46d897ad9b74eb97fb4f0a7ed59bd9d (diff)
code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r--source/blender/editors/mesh/mesh_data.c2
1 files changed, 1 insertions, 1 deletions
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) {