diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-18 11:40:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-18 11:40:19 +0300 |
commit | ac1fa5bb4233cd9e75b7b1a01930bd2827ba53bc (patch) | |
tree | 2e168d78a7bebad104803d2f879ba14b9ea00d7c /source | |
parent | 1fec2d179f8a296eca546f79ab59ceeb2aacb42f (diff) |
fixed [#26533] Audio strip mute after copy/paste
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 4 |
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); + } } } |