diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-29 11:08:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-29 11:08:56 +0300 |
commit | 05c76990c8372089dd94a3efd0d9a795e466f30d (patch) | |
tree | d27eea90bf7955ae318fc3032bb89677226801f8 /source/blender/depsgraph | |
parent | 6456d59b6beaf6131366b87aacfb3ee47e42211d (diff) |
Depsgraph: Tag datablock with original update flag
Tagging based on components might not be granular enough.
For example, for particles we would want to know what part
of particles was changed exactly. For the flushing we wouldn't
worry too much, because we will want less granular updates
there anyway.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index ea53b18f55b..1f643dc9615 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -409,6 +409,7 @@ void deg_graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id, int flag) } deg_graph_id_tag_legacy_compat(bmain, id, (eDepsgraph_Tag)0); } + id->recalc |= flag; int current_flag = flag; while (current_flag != 0) { eDepsgraph_Tag tag = |