forked from blender/blender
Caching generated image leads to infinite loop in preview render #53
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user