diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-03 14:10:04 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-03 14:10:04 +0300 |
commit | 57ec2156770a87c1a8f7b4b60e29ce4fa4cd4454 (patch) | |
tree | 72055c12917d06f6322232554cafba8af6664358 /source/blender/depsgraph/DEG_depsgraph.h | |
parent | e72dfee66fe556dc09ae30e706a5d16d552a5413 (diff) |
Depsgraph: Add utility function to tag ID for update within a specific graph
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index c47ddb711a6..6bd24e7ba2b 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -169,6 +169,11 @@ enum { void DEG_id_tag_update(struct ID *id, int flag); void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); +void DEG_graph_id_tag_update(struct Main *bmain, + struct Depsgraph *depsgraph, + struct ID *id, + int flag); + /* Tag given ID type for update. * * Used by all sort of render engines to quickly check if |