[Bf-blender-cvs] [11183ebc3c1] master: Fix T97034: tweak strips uses cursor position after threshold reached
Campbell Barton
noreply at git.blender.org
Tue Apr 5 01:13:08 CEST 2022
Commit: 11183ebc3c1437974cf16b94e4bf611c15538364
Author: Campbell Barton
Date: Tue Apr 5 09:11:51 2022 +1000
Branches: master
https://developer.blender.org/rB11183ebc3c1437974cf16b94e4bf611c15538364
Fix T97034: tweak strips uses cursor position after threshold reached
===================================================================
M source/blender/editors/space_sequencer/sequencer_select.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list