diff options
author | Jacques Lucke <jacques@blender.org> | 2020-08-18 18:40:45 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-08-18 18:40:56 +0300 |
commit | 80face1be57ed38b812dbd9a245de36b3e160013 (patch) | |
tree | 83a6805236b62e7773526c8c0f4a9c40cac3526c /source/blender/draw | |
parent | c2f0522760b24b746b1f1686f91198c643b6b4c2 (diff) |
Depsgraph: simplify DEG_evaluate_* API
This mainly removes the bmain argument, which can be
retrieved from the graph itself.
Also, I removed some outdated/unnecessary comments.
Reviewers: sergey, sybren
Differential Revision: https://developer.blender.org/D8614
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lightcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c index b5364a71378..a785d27c2db 100644 --- a/source/blender/draw/engines/eevee/eevee_lightcache.c +++ b/source/blender/draw/engines/eevee/eevee_lightcache.c @@ -1303,7 +1303,7 @@ void EEVEE_lightbake_job(void *custom_data, short *stop, short *do_update, float Depsgraph *depsgraph = lbake->depsgraph; DEG_graph_relations_update(depsgraph); - DEG_evaluate_on_framechange(lbake->bmain, depsgraph, lbake->frame); + DEG_evaluate_on_framechange(depsgraph, lbake->frame); lbake->view_layer = DEG_get_evaluated_view_layer(depsgraph); lbake->stop = stop; |