diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-09-28 11:47:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-09-28 11:49:01 +0300 |
commit | 741fa8180c4fbe98f3cc8b3eee239b03e26309f4 (patch) | |
tree | 6f3d7d25e0daf3f139d2d24f8920a8d0468705ec /source/blender/render/intern | |
parent | e5ff9f3615dec3ad8701e404bb4f57e758f71032 (diff) |
Fix T91679: Crash when saving bordered render as multilayer exr
The related issue which is fixed by this change is the missing noisy
image pass when denoising and border render is used,
Need to allocate passes after the passes has been copied from the
original render result.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/pipeline.c b/source/blender/render/intern/pipeline.c index 72ff920561d..931282e26dd 100644 --- a/source/blender/render/intern/pipeline.c +++ b/source/blender/render/intern/pipeline.c @@ -1015,10 +1015,10 @@ static void render_result_uncrop(Render *re) render_result_disprect_to_full_resolution(re); rres = render_result_new(re, &re->disprect, RR_ALL_LAYERS, RR_ALL_VIEWS); - render_result_passes_allocated_ensure(rres); rres->stamp_data = BKE_stamp_data_copy(re->result->stamp_data); render_result_clone_passes(re, rres, NULL); + render_result_passes_allocated_ensure(rres); render_result_merge(rres, re->result); render_result_free(re->result); |