Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_edit.c
| Show First 20 Lines • Show All 3,471 Lines • ▼ Show 20 Lines | if (first_seq->prev) { | ||||
| ed->seqbasep->last = first_seq->prev; | ed->seqbasep->last = first_seq->prev; | ||||
| first_seq->prev = NULL; | first_seq->prev = NULL; | ||||
| } | } | ||||
| } | } | ||||
| seqbase_clipboard_frame = scene->r.cfra; | seqbase_clipboard_frame = scene->r.cfra; | ||||
| /* Need to remove anything that references the current scene */ | /* Need to remove anything that references the current scene */ | ||||
| for (Sequence *seq = seqbase_clipboard.first; seq; seq = seq->next) { | LISTBASE_FOREACH (Sequence *, seq, &seqbase_clipboard) { | ||||
| seq_copy_del_sound(scene, seq); | seq_copy_del_sound(scene, seq); | ||||
| } | } | ||||
| /* Replace datablock pointers with copies, to keep things working in case | /* Replace datablock pointers with copies, to keep things working in case | ||||
| * data-blocks get deleted or another .blend file is opened. */ | * data-blocks get deleted or another .blend file is opened. */ | ||||
| BKE_sequencer_base_clipboard_pointers_store(bmain, &seqbase_clipboard); | BKE_sequencer_base_clipboard_pointers_store(bmain, &seqbase_clipboard); | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| ▲ Show 20 Lines • Show All 845 Lines • Show Last 20 Lines | |||||