Cleanup: break early out of rna_SeqTimelineChannel_owner_get
Once the channel was found the for-loop kept searching.
This commit is contained in:
parent
0b5eb86e2c
commit
116861dc2f
@ -1476,6 +1476,7 @@ static Sequence *rna_SeqTimelineChannel_owner_get(Editing *ed, SeqTimelineChanne
|
|||||||
}
|
}
|
||||||
if (BLI_findindex(&seq->channels, channel) != -1) {
|
if (BLI_findindex(&seq->channels, channel) != -1) {
|
||||||
channel_owner = seq;
|
channel_owner = seq;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user