diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-20 18:37:14 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-25 15:40:06 +0300 |
commit | eb2ed0ea7a2c4090b8e2f239a40da03d6ee29900 (patch) | |
tree | 26a8034d942e688ff7bc4007612cf1c0cffaff36 /source/blender/depsgraph/DEG_depsgraph_build.h | |
parent | 6aadfa243de3736d48400ceb8eae81febeffd987 (diff) |
Depsgraph: Implement builder from given set of IDs
The title explains it all actually: this commit introduces special
dependency graph builder API which builds graph which is sufficient
to evaluate given set of IDs.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_build.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_build.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h index 37dfaf2c3e2..e24fa9e8996 100644 --- a/source/blender/depsgraph/DEG_depsgraph_build.h +++ b/source/blender/depsgraph/DEG_depsgraph_build.h @@ -74,6 +74,13 @@ void DEG_graph_build_for_compositor_preview(struct Depsgraph *graph, struct ViewLayer *view_layer, struct bNodeTree *nodetree); +void DEG_graph_build_from_ids(struct Depsgraph *graph, + struct Main *bmain, + struct Scene *scene, + struct ViewLayer *view_layer, + struct ID **ids, + const int num_ids); + /* Tag relations from the given graph for update. */ void DEG_graph_tag_relations_update(struct Depsgraph *graph); |