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 f71bc33cce - Show all commits

View File

@ -14,7 +14,10 @@
namespace blender::render::hydra {
static std::string cache_image_file(Image *image, bContext *context, ImageUser *iuser, bool check_exist)
static std::string cache_image_file(Image *image,
bContext *context,
ImageUser *iuser,
bool check_exist)
{
char file_path[FILE_MAX];
Main *main = CTX_data_main(context);