It is possible to create scene strips pointing to each other. This is
sanitized when rendering, but in dependency graph such setup will cause
infinite loop.
This patch fixes loop in dependency graph, but same problem exists in
audaspace
Differential D9262
Fix T81426: Infinite loop building VSE relations Authored by Richard Antalik (ISS) on Oct 19 2020, 9:14 AM. Tags None Subscribers None
Details It is possible to create scene strips pointing to each other. This is This patch fixes loop in dependency graph, but same problem exists in
Diff Detail
Event TimelineComment Actions First of all, the relations builder should be doing same tag as in nodes builder: if (built_map_.checkIsBuiltAndTag(scene, BuilderMap::TAG_SCENE_SEQUENCER)) {
return;
}See the beginning of DepsgraphNodeBuilder::build_scene_sequencer. Basically, the nodes and relations builders are to be symmetrical. Comment Actions Indeed this worked. Thanks for suggestion. I will need to implement original solution for rendering though, because it isn't properly sanitized now when I checked. Comment Actions This part seems fine. Please commit it. If fix in rendering is needed, make it a separate commit. |