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>2010-07-04 14:22:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-04 14:22:31 +0400
commit4a6cc10d756ddccf1912daaa6cef1d1e25538c0c (patch)
tree0a56a57544e8a1e08a50b06fdc735d391a40b068 /source/blender
parent8e97e561a9b0a9ab48675699c525410f4ad8a928 (diff)
swap strip data wasnt updating sounds
Diffstat (limited to 'source/blender')
-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 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;