diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-04 14:01:22 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-05 12:57:20 +0300 |
commit | ac060232aae2e70ff83c6926420a38f037bdee02 (patch) | |
tree | 92b90009705d18e53bddd7e597ad9d1b53ed51f6 /source/blender/blenkernel/intern/scene.c | |
parent | f2400c1bb5e25c56366588fed34f6b6ee34cc849 (diff) |
Depsgraph: Pass bmain to evaluation function
Currently unused, makes code ready for an upcoming change.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 885ce415ade..f26688515a1 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1571,7 +1571,7 @@ static void scene_graph_update_tagged(Depsgraph *depsgraph, Main *bmain, bool on /* Update all objects: drivers, matrices, displists, etc. flags set * by depgraph or manual, no layer check here, gets correct flushed. */ - DEG_evaluate_on_refresh(depsgraph); + DEG_evaluate_on_refresh(bmain, depsgraph); /* Update sound system. */ BKE_scene_update_sound(depsgraph, bmain); /* Notify python about depsgraph update. */ |