Depsgraph: don't pass evaluation context to update functions.

The depsgraph now contains all the state needed to evaluate it.

Differential Revision: https://developer.blender.org/D3147
This commit is contained in:
2018-04-06 11:21:20 +02:00
parent eec5d3a8a8
commit a1e2415ed5
33 changed files with 83 additions and 154 deletions

View File

@@ -90,12 +90,7 @@ NodeGroup *BlenderFileLoader::Load()
_re->scene,
view_layer);
BKE_scene_graph_update_tagged(
eval_ctx,
depsgraph,
_re->main,
_re->scene,
view_layer);
BKE_scene_graph_update_tagged(depsgraph, _re->main);
#if 0
if (G.debug & G_DEBUG_FREESTYLE) {