Sound: Delay creating sound scene handle for until is needed
Solves crash loading volume Cycles regression files.
This commit is contained in:
parent
9f681bea68
commit
c02534469a
Notes:
blender-bot
2023-12-22 20:14:11 +01:00
Referenced by commit 2b9965122e
, Sound: Revert all the recent changes to sound
|
@ -6465,9 +6465,7 @@ static void lib_link_scene(FileData *fd, Main *main)
|
|||
seq->scene_sound = NULL;
|
||||
if (seq->scene) {
|
||||
seq->scene = newlibadr(fd, sce->id.lib, seq->scene);
|
||||
if (seq->scene) {
|
||||
seq->scene_sound = BKE_sound_scene_add_scene_sound_defaults(sce, seq);
|
||||
}
|
||||
seq->scene_sound = NULL;
|
||||
}
|
||||
if (seq->clip) {
|
||||
seq->clip = newlibadr_us(fd, sce->id.lib, seq->clip);
|
||||
|
|
Loading…
Reference in New Issue