diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-05 02:11:51 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:57 +0300 |
commit | 314eff66ef72ece9ced65c32d0ab04a23277fd37 (patch) | |
tree | fe8ea68ca6b16ef672bfa4b722d1e5826c67a0e0 /source/blender/editors/space_sequencer/sequencer_select.c | |
parent | 9c23e5be7e087925b16f3a426b0d9e207877ebc9 (diff) |
Fix T97034: tweak strips uses cursor position after threshold reached
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_select.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c index 66df1309d54..8e5931b127a 100644 --- a/source/blender/editors/space_sequencer/sequencer_select.c +++ b/source/blender/editors/space_sequencer/sequencer_select.c @@ -1700,7 +1700,9 @@ static int sequencer_box_select_invoke(bContext *C, wmOperator *op, const wmEven if (tweak) { int hand_dummy; - Sequence *seq = find_nearest_seq(scene, v2d, &hand_dummy, event->mval); + int mval[2]; + WM_event_drag_start_mval(event, region, mval); + Sequence *seq = find_nearest_seq(scene, v2d, &hand_dummy, mval); if (seq != NULL) { return OPERATOR_CANCELLED | OPERATOR_PASS_THROUGH; } |