From d9f7cbb8af07b27d3825453a036557a0e0dab37b Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 18 Aug 2020 15:45:58 +0200 Subject: Cleanup: remove bmain argument from BKE_scene_graph_update_for_newframe Reviewers: sergey Differential Revision: https://developer.blender.org/D8613 --- source/blender/depsgraph/DEG_depsgraph_query.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/depsgraph/DEG_depsgraph_query.h') diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h index e0166a13d69..7eb5f1ccec1 100644 --- a/source/blender/depsgraph/DEG_depsgraph_query.h +++ b/source/blender/depsgraph/DEG_depsgraph_query.h @@ -55,6 +55,9 @@ struct Scene *DEG_get_input_scene(const Depsgraph *graph); /* Get view layer that depsgraph was built for. */ struct ViewLayer *DEG_get_input_view_layer(const Depsgraph *graph); +/* Get bmain that depsgraph was built for. */ +struct Main *DEG_get_bmain(const Depsgraph *graph); + /* Get evaluation mode that depsgraph was built for. */ eEvaluationMode DEG_get_mode(const Depsgraph *graph); -- cgit v1.2.3