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>2017-05-18 15:47:44 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-18 15:48:13 +0300
commitc55c2dbfbafb78a21d6a0cad85e8293a81c994a0 (patch)
treec95208eef82a218cb59f431bdd8004f484f5c665 /source/blender/editors/render
parent00164f3c70aceed2103adbce1c04164e2bc62f6c (diff)
Make sure external engines also render fine with depsgraph + freestyle wip
There is still a crash when using freestyle and Cycles, but the changes here present are harmless
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r--source/blender/editors/render/render_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c
index 069f6c981ef..d4e9956b189 100644
--- a/source/blender/editors/render/render_internal.c
+++ b/source/blender/editors/render/render_internal.c
@@ -307,6 +307,7 @@ static int screen_render_exec(bContext *C, wmOperator *op)
}
re = RE_NewRender(scene->id.name);
+ RE_SetDepsgraph(re, CTX_data_depsgraph(C));
lay_override = (v3d && v3d->lay != scene->lay) ? v3d->lay : 0;
G.is_break = false;