Caching generated image leads to infinite loop in preview render #53

Merged
Bogdan Nagirniak merged 12 commits from BLEN-409 into hydra-render 2023-06-13 18:39:39 +02:00
Showing only changes of commit b60a6291b7 - Show all commits

View File

@ -32,11 +32,8 @@ std::string cache_image_file(
int len = strlen(file_name);
STR_CONCAT(file_name, len, *r_ext);
BLI_path_join(file_path,
sizeof(file_path),
BKE_tempdir_session(),
"hydra_image_cache",
file_name);
BLI_path_join(
file_path, sizeof(file_path), BKE_tempdir_session(), "hydra_image_cache", file_name);
if (check_exist && BLI_exists(file_path)) {
return file_path;