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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user