Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-07-28 18:36:28 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-07-28 18:45:22 +0300
commit0088b412fffb30b585ccd153086f3e85ee6764d2 (patch)
treec9797a2ac0f54a519a7ed62d7e368f226ed76f91 /source/blender/makesrna/intern/rna_sequencer.c
parent08154d237f0d0b8f89f6e16cc6c2e022ebbf12d9 (diff)
VSE: Fix audio not recalculated
Changing strip offsets with RNA properties didn't tag depsgraph to update for new strip start/end points.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c4
1 files changed, 4 insertions, 0 deletions
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.