Fix T84979: No sound after changing strip datablock

Tag relations to update to load new sound.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10182
This commit is contained in:
Richard Antalik 2021-01-26 17:27:40 +01:00
parent f22e85d721
commit 20504e555e
Notes: blender-bot 2023-02-14 08:29:54 +01:00
Referenced by issue #84979, VSE Sound Strips do not playback if an existing sound datablock is selected for the strip
1 changed files with 2 additions and 1 deletions

View File

@ -927,9 +927,10 @@ static void rna_Sequence_filepath_update(Main *bmain, Scene *UNUSED(scene), Poin
rna_Sequence_invalidate_raw_update(bmain, scene, ptr);
}
static void rna_Sequence_sound_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *UNUSED(ptr))
static void rna_Sequence_sound_update(Main *bmain, Scene *scene, PointerRNA *UNUSED(ptr))
{
DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS | ID_RECALC_AUDIO);
DEG_relations_tag_update(bmain);
}
static int seqproxy_seq_cmp_fn(Sequence *seq, void *arg_pt)