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:
authorCampbell Barton <ideasman42@gmail.com>2011-03-18 11:40:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-18 11:40:19 +0300
commitac1fa5bb4233cd9e75b7b1a01930bd2827ba53bc (patch)
tree2e168d78a7bebad104803d2f879ba14b9ea00d7c /source/blender/editors/space_sequencer
parent1fec2d179f8a296eca546f79ab59ceeb2aacb42f (diff)
fixed [#26533] Audio strip mute after copy/paste
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 3a0ebcba89a..7f6b4d57961 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -2680,6 +2680,10 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
if(ofs) {
for(iseq= nseqbase.first; iseq; iseq= iseq->next) {
seq_offset(scene, iseq, ofs);
+ /* XXX, ffmpeg too? */
+ if(iseq->sound) {
+ iseq->scene_sound = sound_add_scene_sound(scene, iseq, iseq->startdisp, iseq->enddisp, iseq->startofs + iseq->anim_startofs);
+ }
}
}