[Bf-blender-cvs] [f6407018580] master: Fix T65814: Copy pasting audio strip from video crash Blender
Sergey Sharybin
noreply at git.blender.org
Fri Jun 14 22:47:46 CEST 2019
Commit: f64070185808f153d141b26e63942424a1b258b1
Author: Sergey Sharybin
Date: Fri Jun 14 22:47:34 2019 +0200
Branches: master
https://developer.blender.org/rBf64070185808f153d141b26e63942424a1b258b1
Fix T65814: Copy pasting audio strip from video crash Blender
===================================================================
M source/blender/editors/space_sequencer/sequencer_edit.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 5510b981899..c3e683b5f59 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -3439,10 +3439,6 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
}
}
- for (iseq = nseqbase.first; iseq; iseq = iseq->next) {
- BKE_sequence_sound_init(scene, iseq);
- }
-
iseq_first = nseqbase.first;
BLI_movelisttolist(ed->seqbasep, &nseqbase);
@@ -3459,6 +3455,7 @@ static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
}
}
+ DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS);
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
return OPERATOR_FINISHED;
More information about the Bf-blender-cvs
mailing list