[Bf-blender-cvs] [0088b412fff] master: VSE: Fix audio not recalculated

Richard Antalik noreply at git.blender.org
Wed Jul 28 17:46:22 CEST 2021


Commit: 0088b412fffb30b585ccd153086f3e85ee6764d2
Author: Richard Antalik
Date:   Wed Jul 28 17:36:28 2021 +0200
Branches: master
https://developer.blender.org/rB0088b412fffb30b585ccd153086f3e85ee6764d2

VSE: Fix audio not recalculated

Changing strip offsets with RNA properties didn't tag depsgraph to
update for new strip start/end points.

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

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 8a1e091b8f9..74fe2a26505 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -306,6 +306,10 @@ static void do_sequence_frame_change_update(Scene *scene, Sequence *seq)
     SEQ_transform_seqbase_shuffle(seqbase, seq, scene); /* XXX: BROKEN!, uses context seqbasep. */
   }
   SEQ_sort(seqbase);
+
+  if (seq->type == SEQ_TYPE_SOUND_RAM) {
+    DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
+  }
 }
 
 /* A simple wrapper around above func, directly usable as prop update func.



More information about the Bf-blender-cvs mailing list