Depsgraph: Remove legacy re-scheduling code

This commit is contained in:
Sergey Sharybin 2017-11-24 15:14:41 +01:00
parent 3023eb384a
commit 90ff88646d
Notes: blender-bot 2023-02-14 06:00:46 +01:00
Referenced by commit 6130524d8c, Revert "Depsgraph: Remove legacy re-scheduling code"
1 changed files with 0 additions and 10 deletions

View File

@ -50,17 +50,7 @@ void deg_graph_build_finalize(Main *bmain, Depsgraph *graph)
* update tag.
*/
foreach (IDDepsNode *id_node, graph->id_nodes) {
ID *id = id_node->id_orig;
id_node->finalize_build(graph);
if ((id->tag & LIB_TAG_ID_RECALC_ALL)) {
id_node->tag_update(graph);
}
else if (GS(id->name) == ID_OB) {
Object *object = (Object *)id;
if (object->recalc & OB_RECALC_ALL) {
id_node->tag_update(graph);
}
}
/* TODO(sergey): This is not ideal at all, since this forces
* re-evaluaiton of the whole tree.
*/