diff options
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_build.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_build.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h index 06202b6196e..e328d3d9e8c 100644 --- a/source/blender/depsgraph/DEG_depsgraph_build.h +++ b/source/blender/depsgraph/DEG_depsgraph_build.h @@ -48,6 +48,7 @@ struct Main; struct ModifierData; struct Object; struct Scene; +struct SceneLayer; #ifdef __cplusplus extern "C" { @@ -58,9 +59,10 @@ extern "C" { /* Build depsgraph for the given scene, and dump results in given * graph container. */ -void DEG_graph_build_from_scene(struct Depsgraph *graph, - struct Main *bmain, - struct Scene *scene); +void DEG_graph_build_from_scene_layer(struct Depsgraph *graph, + struct Main *bmain, + struct Scene *scene, + struct SceneLayer *scene_layer); /* Tag relations from the given graph for update. */ void DEG_graph_tag_relations_update(struct Depsgraph *graph); @@ -68,7 +70,8 @@ void DEG_graph_tag_relations_update(struct Depsgraph *graph); /* Create or update relations in the specified graph. */ void DEG_graph_relations_update(struct Depsgraph *graph, struct Main *bmain, - struct Scene *scene); + struct Scene *scene, + struct SceneLayer *scene_layer); /* Tag all relations in the database for update.*/ void DEG_relations_tag_update(struct Main *bmain); |