diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-20 19:59:47 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-21 10:56:26 +0300 |
commit | 01a627dac950062cf79214426ab086bd11edbaaf (patch) | |
tree | 9fb8b7db7f0215d193c0412f75bab4fd10436533 /source/blender/depsgraph/DEG_depsgraph_query.h | |
parent | 3a75e84376e291cc415f3405ebd32eaec671e0ee (diff) |
Include the set in the depsgraph objects iterator
Pending: Include the set in the rna depsgraph.objects
In fact it would be nice to unify them both. However this will likely
change once Depsgraph incorporate this iterator, so I'm not sure we
should bother with that.
Related to T51203
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_query.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_query.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h index 01cbaf503b5..4bf2b63cf41 100644 --- a/source/blender/depsgraph/DEG_depsgraph_query.h +++ b/source/blender/depsgraph/DEG_depsgraph_query.h @@ -48,6 +48,9 @@ bool DEG_id_type_tagged(struct Main *bmain, short idtype); /* Get additional evaluation flags for the given ID. */ short DEG_get_eval_flags_for_id(struct Depsgraph *graph, struct ID *id); +/* Get scene the despgraph is created for. */ +struct Scene *DAG_get_scene(struct Depsgraph *graph); + /* Get scene layer the despgraph is created for. */ struct SceneLayer *DAG_get_scene_layer(struct Depsgraph *graph); |