Merge branch 'blender2.8' of git.blender.org:blender into blender2.8

This commit is contained in:
Gaia Clary
2018-02-26 22:55:15 +01:00

View File

@@ -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;