diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-02-02 23:03:01 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-02-02 23:03:04 +0300 |
commit | 217bc17a3cdd6dc87137106dc57c4eb442fa00ef (patch) | |
tree | 2ecc4988194edfc349cb28016522db8015d60fab /source/blender/draw | |
parent | dcea87b58e1a4bf601a8ee8e80927eda3ad8c69a (diff) |
Fix draw manager F12 evaluation mode
This effectively allows for ob duplicator_render/viewport to work properly
when doing final renders.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 17a1b2f7ca2..e6064c202ae 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -3609,6 +3609,7 @@ void DRW_render_to_image(RenderEngine *re, struct Depsgraph *depsgraph) /* Reset before using it. */ memset(&DST, 0x0, sizeof(DST)); DST.options.is_image_render = true; + DST.options.is_scene_render = true; DST.options.draw_background = scene->r.alphamode == R_ADDSKY; DST.draw_ctx = (DRWContextState){ |