[Bf-blender-cvs] [20504e555e4] blender-v2.92-release: Fix T84979: No sound after changing strip datablock

Richard Antalik noreply at git.blender.org
Tue Jan 26 17:51:12 CET 2021


Commit: 20504e555e452e034016582dcf0868a51227f394
Author: Richard Antalik
Date:   Tue Jan 26 17:27:40 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rB20504e555e452e034016582dcf0868a51227f394

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

===================================================================

M	source/blender/makesrna/intern/rna_sequencer.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 217321b4991..01b083dc3c8 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -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)



More information about the Bf-blender-cvs mailing list