Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_edit.c
| Show First 20 Lines • Show All 2,331 Lines • ▼ Show 20 Lines | static int sequencer_split_exec(bContext *C, wmOperator *op) | ||||
| split_frame = RNA_int_get(op->ptr, "frame"); | split_frame = RNA_int_get(op->ptr, "frame"); | ||||
| split_channel = RNA_int_get(op->ptr, "channel"); | split_channel = RNA_int_get(op->ptr, "channel"); | ||||
| use_cursor_position = RNA_boolean_get(op->ptr, "use_cursor_position"); | use_cursor_position = RNA_boolean_get(op->ptr, "use_cursor_position"); | ||||
| split_hard = RNA_enum_get(op->ptr, "type"); | split_hard = RNA_enum_get(op->ptr, "type"); | ||||
| split_side = RNA_enum_get(op->ptr, "side"); | split_side = RNA_enum_get(op->ptr, "side"); | ||||
| ignore_selection = RNA_boolean_get(op->ptr, "ignore_selection"); | ignore_selection = RNA_boolean_get(op->ptr, "ignore_selection"); | ||||
| BKE_sequencer_prefetch_stop(scene); | |||||
| if (split_hard == SEQ_SPLIT_HARD) { | if (split_hard == SEQ_SPLIT_HARD) { | ||||
| changed = split_seq_list(bmain, | changed = split_seq_list(bmain, | ||||
| scene, | scene, | ||||
| ed->seqbasep, | ed->seqbasep, | ||||
| split_frame, | split_frame, | ||||
| split_channel, | split_channel, | ||||
| use_cursor_position, | use_cursor_position, | ||||
| split_seq_hard); | split_seq_hard); | ||||
| ▲ Show 20 Lines • Show All 1,857 Lines • Show Last 20 Lines | |||||