diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 16:05:03 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 17:04:11 +0300 |
commit | 4dbfb130db1afea2ec4f8d5604515e81e5fde687 (patch) | |
tree | 30ad5088a0f8e097d617b5f18b73913e604a4177 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | 56006d98085f0b8d587e29a62541d3eb425e50a6 (diff) |
Depsgraph: Cleanup, remove unused function
It's unlikely we will ever want to flush tags on all possible scenes or
dependency graphs. It wouldn't be thread safe at a best.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 927593b6d8f..19d3dda1896 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -431,19 +431,6 @@ void DEG_id_type_tag(Main *bmain, short id_type) bmain->id_tag_update[BKE_idcode_to_index(id_type)] = 1; } -/* Recursively push updates out to all nodes dependent on this, - * until all affected are tagged and/or scheduled up for eval - */ -void DEG_ids_flush_tagged(Main *bmain) -{ - for (Scene *scene = (Scene *)bmain->scene.first; - scene != NULL; - scene = (Scene *)scene->id.next) - { - DEG_scene_flush_update(bmain, scene); - } -} - void DEG_scene_flush_update(Main *bmain, Scene *scene) { if (scene->depsgraph_legacy == NULL) { |