Fix T91629: Crash in "Open Cached Render" function

This commit is contained in:
Sergey Sharybin 2021-09-23 13:03:01 +02:00
parent f48a4aa0f9
commit e86cf55667
Notes: blender-bot 2023-02-13 17:37:47 +01:00
Referenced by issue #91629, Blender crashing with "Open Cached Render" function
1 changed files with 1 additions and 0 deletions

View File

@ -1180,6 +1180,7 @@ bool render_result_exr_file_cache_read(Render *re)
RE_FreeRenderResult(re->result);
re->result = render_result_new(re, &re->disprect, RR_ALL_LAYERS, RR_ALL_VIEWS);
render_result_passes_allocated_ensure(re->result);
/* First try cache. */
render_result_exr_file_cache_path(re->scene, root, str);