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 5610ec8d9c - Show all commits

View File

@ -279,8 +279,6 @@ static PyObject *cache_image_func(PyObject * /*self*/, PyObject *args)
Image *image = (Image *)PyLong_AsVoidPtr(pyimage);
std::string image_path = cache_image_file(image, context, scene, NULL, false);
CLOG_INFO(LOG_RENDER_HYDRA, 1, "Cache image");
return PyUnicode_FromString(image_path.c_str());
}