forked from blender/blender
Caching generated image leads to infinite loop in preview render #53
@ -279,8 +279,6 @@ static PyObject *cache_image_func(PyObject * /*self*/, PyObject *args)
|
|||||||
Image *image = (Image *)PyLong_AsVoidPtr(pyimage);
|
Image *image = (Image *)PyLong_AsVoidPtr(pyimage);
|
||||||
|
|
||||||
std::string image_path = cache_image_file(image, context, scene, NULL, false);
|
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());
|
return PyUnicode_FromString(image_path.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user