diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-04 14:22:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-04 14:22:31 +0400 |
commit | 4a6cc10d756ddccf1912daaa6cef1d1e25538c0c (patch) | |
tree | 0a56a57544e8a1e08a50b06fdc735d391a40b068 | |
parent | 8e97e561a9b0a9ab48675699c525410f4ad8a928 (diff) |
swap strip data wasnt updating sounds
-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 246355f547e..1baf30ccc65 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -2681,6 +2681,10 @@ static int sequencer_swap_data_exec(bContext *C, wmOperator *op) calc_sequence(scene, seq_act); calc_sequence(scene, seq_other); + /* sound needs to be moved */ + if(seq_act->scene_sound) calc_sequence_disp(scene, seq_act); + if(seq_other->scene_sound) calc_sequence_disp(scene, seq_other); + WM_event_add_notifier(C, NC_SCENE|ND_SEQUENCER, scene); return OPERATOR_FINISHED; |