diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-05 02:11:51 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-05 02:11:51 +0300 |
commit | 11183ebc3c1437974cf16b94e4bf611c15538364 (patch) | |
tree | a057eac543713f1602f3e507b0bee588adc1259c /source | |
parent | e994b728124ffd0f96d2535e65e8756b381e1c4c (diff) |
Fix T97034: tweak strips uses cursor position after threshold reached
Diffstat (limited to 'source')
-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; } |