Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_edit.c
| Show First 20 Lines • Show All 3,466 Lines • ▼ Show 20 Lines | for (iseq = iseq_first; iseq; iseq = iseq->next) { | ||||
| BKE_sequence_translate(scene, iseq, ofs); | BKE_sequence_translate(scene, iseq, ofs); | ||||
| /* Ensure, that pasted strips don't overlap. */ | /* Ensure, that pasted strips don't overlap. */ | ||||
| if (BKE_sequence_test_overlap(ed->seqbasep, iseq)) { | if (BKE_sequence_test_overlap(ed->seqbasep, iseq)) { | ||||
| BKE_sequence_base_shuffle(ed->seqbasep, iseq, scene); | BKE_sequence_base_shuffle(ed->seqbasep, iseq, scene); | ||||
| } | } | ||||
| } | } | ||||
| DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS); | DEG_id_tag_update(&scene->id, ID_RECALC_SEQUENCER_STRIPS); | ||||
| DEG_relations_tag_update(bmain); | |||||
| WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene); | WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene); | ||||
| ED_outliner_select_sync_from_sequence_tag(C); | ED_outliner_select_sync_from_sequence_tag(C); | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| void SEQUENCER_OT_paste(wmOperatorType *ot) | void SEQUENCER_OT_paste(wmOperatorType *ot) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 752 Lines • Show Last 20 Lines | |||||