Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_select.c
| Show First 20 Lines • Show All 353 Lines • ▼ Show 20 Lines | if (seq) { | ||||
| } | } | ||||
| } | } | ||||
| if (changed) { | if (changed) { | ||||
| /* Pass. */ | /* Pass. */ | ||||
| } | } | ||||
| } | } | ||||
| #endif | #endif | ||||
| void recurs_sel_seq(Sequence *seq_meta) | |||||
| { | |||||
| Sequence *seq; | |||||
| seq = seq_meta->seqbase.first; | |||||
| while (seq) { | |||||
| if (seq_meta->flag & (SEQ_LEFTSEL + SEQ_RIGHTSEL)) { | |||||
| seq->flag &= ~SEQ_ALLSEL; | |||||
| } | |||||
| else if (seq_meta->flag & SELECT) { | |||||
| seq->flag |= SELECT; | |||||
| } | |||||
| else { | |||||
| seq->flag &= ~SEQ_ALLSEL; | |||||
| } | |||||
| if (seq->seqbase.first) { | |||||
| recurs_sel_seq(seq); | |||||
| } | |||||
| seq = seq->next; | |||||
| } | |||||
| } | |||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name (De)select All Operator | /** \name (De)select All Operator | ||||
| * \{ */ | * \{ */ | ||||
| static int sequencer_de_select_all_exec(bContext *C, wmOperator *op) | static int sequencer_de_select_all_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 1,391 Lines • Show Last 20 Lines | |||||