diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 16:14:22 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 17:04:11 +0300 |
commit | 72b61763da593fb6a9822f3e37eff9dd2973bf66 (patch) | |
tree | fbcc7169990e75410d5eabd132dedb003e635eff /source/blender/makesrna/intern/rna_depsgraph.c | |
parent | 4dbfb130db1afea2ec4f8d5604515e81e5fde687 (diff) |
Depsgraph: Begin bringing API to pass explicit graph
This is a first step towards an updated API where we pass explicit graph rather
than a scene. This is because we can no longer deduct which graph to use since
it will depend on a context.
Will happen in several steps, so bisecting will not be such a pain.
Diffstat (limited to 'source/blender/makesrna/intern/rna_depsgraph.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 88a1873c17f..bab718c7235 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -141,7 +141,7 @@ static void rna_Depsgraph_debug_rebuild(Depsgraph *UNUSED(graph), bContext *C) DEG_relations_tag_update(bmain); for (sce = bmain->scene.first; sce; sce = sce->id.next) { DEG_scene_relations_rebuild(bmain, sce); - DEG_graph_on_visible_update(bmain, sce); + DEG_graph_on_visible_update(bmain, sce->depsgraph_legacy); } } |