diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-21 18:55:39 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-21 18:55:39 +0300 |
commit | 66dbe6e55a1d3e412ad6ce4fd77a545a03e767d7 (patch) | |
tree | 6594b094a0b2433da5a140f7da2fe4ac954e7f22 /source/blender/editors/space_sequencer | |
parent | 3c1e75a2301c352dac72b1742cdd8efa2b335d6e (diff) |
Cleanup: else-after-return
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index e9e29ae3677..a6a83b0c3bc 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -1328,13 +1328,13 @@ static bool check_seq_need_thumbnails(Sequence *seq, rctf *view_area) if (min_ii(seq->startdisp, seq->start) > view_area->xmax) { return false; } - else if (max_ii(seq->enddisp, seq->start + seq->len) < view_area->xmin) { + if (max_ii(seq->enddisp, seq->start + seq->len) < view_area->xmin) { return false; } - else if (seq->machine + 1.0f < view_area->ymin) { + if (seq->machine + 1.0f < view_area->ymin) { return false; } - else if (seq->machine > view_area->ymax) { + if (seq->machine > view_area->ymax) { return false; } |