[Bf-blender-cvs] [f87d7c6] master: Fix error messages for RE_layer_load_from_file() and RE_layer_load_from_file()
Dalai Felinto
noreply at git.blender.org
Thu Apr 2 14:08:54 CEST 2015
Commit: f87d7c605dcfb1a439635f6856cbbd50904ae0b6
Author: Dalai Felinto
Date: Thu Apr 2 09:08:25 2015 -0300
Branches: master
https://developer.blender.org/rBf87d7c605dcfb1a439635f6856cbbd50904ae0b6
Fix error messages for RE_layer_load_from_file() and RE_layer_load_from_file()
===================================================================
M source/blender/render/intern/source/pipeline.c
===================================================================
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index b18edd4..4911950 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -3261,25 +3261,25 @@ void RE_layer_load_from_file(RenderLayer *layer, ReportList *reports, const char
IMB_freeImBuf(ibuf_clip);
}
else {
- BKE_reportf(reports, RPT_ERROR, "RE_result_rect_from_file: failed to allocate clip buffer '%s'", filename);
+ BKE_reportf(reports, RPT_ERROR, "RE_layer_load_from_file: failed to allocate clip buffer '%s'", filename);
}
}
else {
- BKE_reportf(reports, RPT_ERROR, "RE_result_rect_from_file: incorrect dimensions for partial copy '%s'", filename);
+ BKE_reportf(reports, RPT_ERROR, "RE_layer_load_from_file: incorrect dimensions for partial copy '%s'", filename);
}
}
IMB_freeImBuf(ibuf);
}
else {
- BKE_reportf(reports, RPT_ERROR, "RE_result_rect_from_file: failed to load '%s'", filename);
+ BKE_reportf(reports, RPT_ERROR, "RE_layer_load_from_file: failed to load '%s'", filename);
}
}
void RE_result_load_from_file(RenderResult *result, ReportList *reports, const char *filename)
{
if (!render_result_exr_file_read_path(result, NULL, filename)) {
- BKE_reportf(reports, RPT_ERROR, "RE_result_rect_from_file: failed to load '%s'", filename);
+ BKE_reportf(reports, RPT_ERROR, "RE_result_load_from_file: failed to load '%s'", filename);
return;
}
}
More information about the Bf-blender-cvs
mailing list