fix for [#26533] didnt take scene strips into account, tested copy/pasting scene strips now works with audio.

This commit is contained in:
Campbell Barton 2011-03-18 10:35:17 +00:00
parent ac1fa5bb42
commit 0a52b86d50

@ -2684,6 +2684,9 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
if(iseq->sound) {
iseq->scene_sound = sound_add_scene_sound(scene, iseq, iseq->startdisp, iseq->enddisp, iseq->startofs + iseq->anim_startofs);
}
if(iseq->scene) {
sound_scene_add_scene_sound(scene, iseq, iseq->startdisp, iseq->enddisp, iseq->startofs + iseq->anim_startofs);
}
}
}