forked from blender/blender
Change log severity for better maintability #50
@ -41,12 +41,12 @@ static std::string cache_image_file(Image *image,
|
||||
if (BKE_image_save_options_init(&opts, main, scene_delegate->scene, image, iuser, true, false)) {
|
||||
STRNCPY(opts.filepath, file_path.c_str());
|
||||
ReportList reports;
|
||||
if (!BKE_image_save(&reports, main, image, iuser, &opts)) {
|
||||
file_path = "";
|
||||
};
|
||||
else {
|
||||
if (BKE_image_save(&reports, main, image, iuser, &opts)) {
|
||||
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 1, "%s -> %s", image->id.name, file_path.c_str());
|
||||
};
|
||||
}
|
||||
else {
|
||||
file_path = "";
|
||||
}
|
||||
}
|
||||
BKE_image_save_options_free(&opts);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user