Fix T88635: VSE: Select Linked gives unpredictable results

Caused by {rB66923031e6f2}.

Code would process unselected sequences and skip selected, needs to be
the other way around.

Maniphest Tasks: T88635

Differential Revision: https://developer.blender.org/D11424
This commit is contained in:
Philipp Oeser 2021-05-28 13:38:08 +02:00
parent 02395fead7
commit adafd7257d
Notes: blender-bot 2023-02-14 06:19:41 +01:00
Referenced by issue #88635, Video Sequencer: Select Linked gives unpredictable results
1 changed files with 1 additions and 1 deletions

View File

@ -808,7 +808,7 @@ static bool select_linked_internal(Scene *scene)
bool changed = false;
LISTBASE_FOREACH (Sequence *, seq, SEQ_active_seqbase_get(ed)) {
if ((seq->flag & SELECT) != 0) {
if ((seq->flag & SELECT) == 0) {
continue;
}
/* Only get unselected neighbors. */