diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-09-15 18:42:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-09-15 19:53:57 +0300 |
commit | 51f7d24a4ecb89059751b2432408680bc5275902 (patch) | |
tree | 283f7542d77ff52b2258e18b9c3d749e91b7f81f /source/blender/render/intern/render_result.c | |
parent | b6d890672c5fcc7a970d0475a9bdb0d44950ad50 (diff) |
Fix missing passes result when rendering multiple views
Caused by the lazily pass pixels allocation which didn't reset
allocation state of the render result.
Demo file: XXX
Diffstat (limited to 'source/blender/render/intern/render_result.c')
-rw-r--r-- | source/blender/render/intern/render_result.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/intern/render_result.c b/source/blender/render/intern/render_result.c index c29ab342ed7..6cb6aabe885 100644 --- a/source/blender/render/intern/render_result.c +++ b/source/blender/render/intern/render_result.c @@ -250,6 +250,9 @@ RenderPass *render_layer_add_pass(RenderResult *rr, BLI_addtail(&rl->passes, rpass); + /* The result contains non-allocated pass now, so tag it as such. */ + rr->passes_allocated = false; + return rpass; } |