diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-19 17:00:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-19 17:37:07 +0300 |
commit | dd89bcc832a091b245828092eccbcc36f40b7d52 (patch) | |
tree | 271f7aafbffeb85b3a902d2c93156b2e9f45ce46 /source/blender/blenkernel | |
parent | ab60fe2a12ae5d6a53abf754855be6d63bf1a08c (diff) |
Fix T65614: Sequencer render single layer only
Was noticeable when sequencer uses scene with a compositor.
The way it was using render API was forcing a single render layer.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5095
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 2514bad5709..971ca77ff3d 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -3578,7 +3578,8 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context, re = RE_NewSceneRender(scene); } - RE_RenderFrame(re, context->bmain, scene, view_layer, camera, frame, false); + RE_RenderFrame( + re, context->bmain, scene, have_comp ? NULL : view_layer, camera, frame, false); /* restore previous state after it was toggled on & off by RE_RenderFrame */ G.is_rendering = is_rendering; |