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.
This commit is contained in:
Sergey Sharybin
2017-10-24 15:05:03 +02:00
parent 56006d9808
commit 4dbfb130db
2 changed files with 0 additions and 16 deletions

View File

@@ -182,9 +182,6 @@ void DEG_ids_clear_recalc(struct Main *bmain);
/* Update Flushing ------------------------------- */
/* Flush updates for all IDs */
void DEG_ids_flush_tagged(struct Main *bmain);
/* Flush updates for IDs in a single scene. */
void DEG_scene_flush_update(struct Main *bmain, struct Scene *scene);

View File

@@ -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) {