Change log severity for better maintability #50

Merged
Bogdan Nagirniak merged 6 commits from Vasyl-Pidhirskyi/blender_bn:BLEN-422 into hydra-render 2023-06-05 19:46:21 +02:00
Showing only changes of commit 78ad1a17ee - Show all commits

View File

@ -44,7 +44,7 @@ static std::string cache_image_file(Image *image,
if (!BKE_image_save(&reports, main, image, iuser, &opts)) { if (!BKE_image_save(&reports, main, image, iuser, &opts)) {
file_path = ""; file_path = "";
}; };
else{ else {
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 1, "%s -> %s", image->id.name, file_path.c_str()); CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 1, "%s -> %s", image->id.name, file_path.c_str());
}; };
} }
Vasyl-Pidhirskyi marked this conversation as resolved Outdated

Move to if (BKE_image_save(...)), severity 1

Move to `if (BKE_image_save(...))`, severity 1