Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-08-18 18:40:45 +0300
committerJacques Lucke <jacques@blender.org>2020-08-18 18:40:56 +0300
commit80face1be57ed38b812dbd9a245de36b3e160013 (patch)
tree83a6805236b62e7773526c8c0f4a9c40cac3526c /source/blender/draw/engines/eevee/eevee_lightcache.c
parentc2f0522760b24b746b1f1686f91198c643b6b4c2 (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/engines/eevee/eevee_lightcache.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lightcache.c2
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;