From 57ec2156770a87c1a8f7b4b60e29ce4fa4cd4454 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 3 Nov 2017 12:10:04 +0100 Subject: Depsgraph: Add utility function to tag ID for update within a specific graph --- source/blender/depsgraph/DEG_depsgraph.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/depsgraph/DEG_depsgraph.h') 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 -- cgit v1.2.3