diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-09-23 14:03:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-09-23 14:03:36 +0300 |
commit | e86cf55667a74c469c325f1bae1868ac963fb87d (patch) | |
tree | dad866e93f0d289cecfa91d84fa684b2b25c267e /source/blender/render/intern | |
parent | f48a4aa0f9157c1338a190d5d1b907cfc7d3da10 (diff) |
Fix T91629: Crash in "Open Cached Render" function
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/render_result.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/render_result.c b/source/blender/render/intern/render_result.c index c308147fc5b..6bd6521d803 100644 --- a/source/blender/render/intern/render_result.c +++ b/source/blender/render/intern/render_result.c @@ -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); |