Fix T79222: Assert due to multiple building of same scene sequencer in depsgraph.
Just check and skip building if it has already been done before. Thanks to @sergey for the help.
This commit is contained in:
parent
3f94f47113
commit
2bb7378779
Notes:
blender-bot
2023-02-14 06:45:14 +01:00
Referenced by issue #79544, No sound in video sequencer preview Referenced by issue #79222, Crash on assert in DepsgraphNodeBuilder::add_operation_node
|
@ -1797,6 +1797,9 @@ void DepsgraphNodeBuilder::build_scene_sequencer(Scene *scene)
|
|||
if (scene->ed == nullptr) {
|
||||
return;
|
||||
}
|
||||
if (built_map_.checkIsBuiltAndTag(scene, BuilderMap::TAG_SCENE_SEQUENCER)) {
|
||||
return;
|
||||
}
|
||||
build_scene_audio(scene);
|
||||
Scene *scene_cow = get_cow_datablock(scene);
|
||||
add_operation_node(&scene->id,
|
||||
|
|
Loading…
Reference in New Issue