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:
authorCampbell Barton <campbell@blender.org>2022-04-05 02:11:51 +0300
committerCampbell Barton <campbell@blender.org>2022-04-05 02:11:51 +0300
commit11183ebc3c1437974cf16b94e4bf611c15538364 (patch)
treea057eac543713f1602f3e507b0bee588adc1259c
parente994b728124ffd0f96d2535e65e8756b381e1c4c (diff)
Fix T97034: tweak strips uses cursor position after threshold reached
-rw-r--r--source/blender/editors/space_sequencer/sequencer_select.c4
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;
}