code cleanup: BKE_ naming, also make bpy.data.images.load() always load a new image. (not use existing one)

This commit is contained in:
2012-05-05 14:52:04 +00:00
parent 299ff91ea1
commit 34b18fcbc1
30 changed files with 109 additions and 98 deletions

View File

@@ -833,7 +833,7 @@ static int image_open_exec(bContext *C, wmOperator *op)
errno = 0;
ima = BKE_add_image_file(str);
ima = BKE_image_load_exists(str);
if (!ima) {
if (op->customdata) MEM_freeN(op->customdata);