Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-02-02 23:03:01 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-02-02 23:03:04 +0300
commit217bc17a3cdd6dc87137106dc57c4eb442fa00ef (patch)
tree2ecc4988194edfc349cb28016522db8015d60fab /source/blender
parentdcea87b58e1a4bf601a8ee8e80927eda3ad8c69a (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')
-rw-r--r--source/blender/draw/intern/draw_manager.c1
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){