diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-02-27 00:04:18 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-02-27 00:04:18 +0300 |
commit | 96285e1ca42bd9fb667a84ef79bf0aea70b6b717 (patch) | |
tree | 767f9df5dfbb406fdf89baa79a84acd936fdd36d /source/blender/editors/space_view3d/view3d_draw.c | |
parent | e94276d4033c72000942a49100e552e800d09e58 (diff) |
VSE preview: Get depsgraph from EvaluationContext
Note: Sequencer preview is working only for Clay, for Eevee is still not working.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 68996cdf906..5e649c6d2ea 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2036,9 +2036,7 @@ void ED_view3d_draw_offscreen( else view3d_main_region_setup_view(eval_ctx, scene, v3d, ar, viewmat, winmat, NULL); - /* XXX, should take depsgraph as arg */ - Depsgraph *depsgraph = BKE_scene_get_depsgraph(scene, view_layer, false); - BLI_assert(depsgraph != NULL); + Depsgraph *depsgraph = eval_ctx->depsgraph; /* main drawing call */ RenderEngineType *engine_type = eval_ctx->engine_type; |