fix for [#26533] didnt take scene strips into account, tested copy/pasting scene...
authorCampbell Barton <ideasman42@gmail.com>
Fri, 18 Mar 2011 10:35:17 +0000 (10:35 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 18 Mar 2011 10:35:17 +0000 (10:35 +0000)
source/blender/editors/space_sequencer/sequencer_edit.c

index 7f6b4d57961b64084a0c035f29cf489c855e40d1..b14904672d0f5db4ec3feffe9d32b7fd2cb44905 100644 (file)
@@ -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);
+                       }
                }
        }