Fix depsgraph tagging during the relations build pass.
Followup commit to 18e5e2fa1ac26ccbbd0cc8b486a5d92be6888021. Needs the same treatment in the second pass when ID tags are reset again.
This commit is contained in:
parent
80b1adf8c2
commit
ea41207c3b
@ -244,6 +244,13 @@ void DepsgraphRelationBuilder::build_scene(Main *bmain, Scene *scene)
|
||||
* created or not.
|
||||
*/
|
||||
BKE_main_id_tag_all(bmain, LIB_TAG_DOIT, false);
|
||||
/* XXX nested node trees are not included in tag-clearing above,
|
||||
* so we need to do this manually.
|
||||
*/
|
||||
FOREACH_NODETREE(bmain, nodetree, id) {
|
||||
if (id != (ID *)nodetree)
|
||||
nodetree->id.tag &= ~LIB_TAG_DOIT;
|
||||
} FOREACH_NODETREE_END
|
||||
|
||||
if (scene->set) {
|
||||
// TODO: link set to scene, especially our timesource...
|
||||
|
Loading…
Reference in New Issue
Block a user