Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-12-19 12:23:21 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-01-20 23:05:11 +0300
commitddddb94517bc4315afe53665c870adc5192c1474 (patch)
tree578f4a64932ace3b1417500c3a2d11fd46a2df1f /source/blender/editors/space_sequencer
parent335930ab4efffdf0da751cbb90598353cebffb3b (diff)
Fix T72546: Video Sequencer: Select grouped 'OVERLAP' operator wrong
selection False positive when a sequences end would be the same as active sequences start. Also thx @sybren for the heads up to make this more readable. Maniphest Tasks: T72546 Differential Revision: https://developer.blender.org/D6451
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index a51b08f7525..ea93ef2e040 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -1292,7 +1292,7 @@ static bool select_grouped_time_overlap(Editing *ed, Sequence *actseq)
bool changed = false;
SEQP_BEGIN (ed, seq) {
- if (!((seq->startdisp >= actseq->enddisp) || (seq->enddisp < actseq->startdisp))) {
+ if (seq->startdisp < actseq->enddisp && seq->enddisp > actseq->startdisp) {
seq->flag |= SELECT;
changed = true;
}