From 23276bcc37acc54f1e1814abdf482a432523c3a6 Mon Sep 17 00:00:00 2001 From: Monique Dewanchand Date: Wed, 14 Sep 2022 21:30:20 +0200 Subject: Adding `const Scene*` parameter in many areas. Related to {D15885} that requires scene parameter to be added in many places. To speed up the review process the adding of the scene parameter was added in a separate patch. Reviewed By: mont29 Maniphest Tasks: T73411 Differential Revision: https://developer.blender.org/D15930 --- source/blender/depsgraph/intern/depsgraph_physics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/depsgraph') diff --git a/source/blender/depsgraph/intern/depsgraph_physics.cc b/source/blender/depsgraph/intern/depsgraph_physics.cc index 5660d5eb1bd..cf5cccac580 100644 --- a/source/blender/depsgraph/intern/depsgraph_physics.cc +++ b/source/blender/depsgraph/intern/depsgraph_physics.cc @@ -174,7 +174,7 @@ ListBase *build_effector_relations(Depsgraph *graph, Collection *collection) ID *collection_id = object_id_safe(collection); return hash->lookup_or_add_cb(collection_id, [&]() { ::Depsgraph *depsgraph = reinterpret_cast<::Depsgraph *>(graph); - return BKE_effector_relations_create(depsgraph, graph->view_layer, collection); + return BKE_effector_relations_create(depsgraph, graph->scene, graph->view_layer, collection); }); } -- cgit v1.2.3