Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_edit.c
| Show First 20 Lines • Show All 1,249 Lines • ▼ Show 20 Lines | if (SEQ_relations_render_loop_check(seq1, last_seq) || | ||||
| BKE_report(op->reports, RPT_ERROR, "Cannot reassign inputs: recursion detected"); | BKE_report(op->reports, RPT_ERROR, "Cannot reassign inputs: recursion detected"); | ||||
| return OPERATOR_CANCELLED; | return OPERATOR_CANCELLED; | ||||
| } | } | ||||
| last_seq->seq1 = seq1; | last_seq->seq1 = seq1; | ||||
| last_seq->seq2 = seq2; | last_seq->seq2 = seq2; | ||||
| last_seq->seq3 = seq3; | last_seq->seq3 = seq3; | ||||
| int old_start = last_seq->start; | |||||
| SEQ_relations_update_changed_seq_and_deps(scene, last_seq, 1, 1); | SEQ_relations_update_changed_seq_and_deps(scene, last_seq, 1, 1); | ||||
| SEQ_offset_animdata(scene, last_seq, (last_seq->start - old_start)); | |||||
| WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene); | WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene); | ||||
| return OPERATOR_FINISHED; | return OPERATOR_FINISHED; | ||||
| } | } | ||||
| static bool sequencer_effect_poll(bContext *C) | static bool sequencer_effect_poll(bContext *C) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 2,089 Lines • Show Last 20 Lines | |||||