Commit: 217bc17a3cdd6dc87137106dc57c4eb442fa00ef
Author: Dalai Felinto
Date:   Fri Feb 2 18:03:01 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB217bc17a3cdd6dc87137106dc57c4eb442fa00ef

Fix draw manager F12 evaluation mode

This effectively allows for ob duplicator_render/viewport to work properly
when doing final renders.

===================================================================

M       source/blender/draw/intern/draw_manager.c

===================================================================

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){

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to