diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-18 16:42:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-07-19 16:20:06 +0300 |
commit | 414cc821d8d0e3156a3c1057ed382c32cf4b5031 (patch) | |
tree | 4027fe3deb296d9c711fef6b8482f04895b1e3d7 /source/blender/depsgraph/DEG_depsgraph.h | |
parent | 50f5f0957c400595a85889ea9f6777e1a861dd21 (diff) |
Depsgraph: Initial implementation of more granular tagging
This commit makes it so that only ID components which correspond to the tag
flag are tagged for update (previously the whole ID would have been updated
in the most of cases).
This allows us to have more granular tag flags and prevent tagging of things
we don't want to be tagged.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 2e7e1cd6ff5..76681e6611c 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -136,11 +136,6 @@ void DEG_graph_on_visible_update(struct Main *bmain, struct Scene *scene); /* Update all dependency graphs when visible scenes/layers changes. */ void DEG_on_visible_update(struct Main *bmain, const bool do_time); -/* Tag node(s) associated with changed data for later updates */ -void DEG_graph_id_tag_update(struct Main *bmain, - Depsgraph *graph, - struct ID *id); - /* Tag given ID for an update in all the dependency graphs. */ enum { /* Object transformation changed, corresponds to OB_RECALC_OB. */ |