Depsgraph: Remove legacy re-scheduling code
This commit is contained in:
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"
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue