diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-18 22:14:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-18 22:27:17 +0300 |
commit | 074cd53c19311955031f88d2486ac475ba43f806 (patch) | |
tree | d83f1daaeb4e7a6aa6a6218a5d3009a6338ebaf6 /source/blender/editors/uvedit/uvedit_smart_stitch.c | |
parent | 64920a8febde6df596fe7c8e62c570db2f29ab95 (diff) |
Keymap: move left click select to a preference
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_smart_stitch.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_smart_stitch.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c index c358cffa0b4..ffdd371dfdb 100644 --- a/source/blender/editors/uvedit/uvedit_smart_stitch.c +++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c @@ -2549,18 +2549,6 @@ static int stitch_modal(bContext *C, wmOperator *op, const wmEvent *event) return OPERATOR_CANCELLED; case LEFTMOUSE: - if (event->shift && (U.flag & USER_LMOUSESELECT)) { - if (event->val == KM_PRESS) { - StitchState *selected_state = stitch_select(C, scene, event, ssc); - - if (selected_state && !stitch_process_data(ssc, selected_state, scene, false)) { - stitch_cancel(C, op); - return OPERATOR_CANCELLED; - } - } - break; - } - ATTR_FALLTHROUGH; case PADENTER: case RETKEY: if (event->val == KM_PRESS) { @@ -2658,7 +2646,7 @@ static int stitch_modal(bContext *C, wmOperator *op, const wmEvent *event) stitch_cancel(C, op); return OPERATOR_CANCELLED; } - if (event->val == KM_PRESS && !(U.flag & USER_LMOUSESELECT)) { + if (event->val == KM_PRESS) { StitchState *selected_state = stitch_select(C, scene, event, ssc); if (selected_state && !stitch_process_data(ssc, selected_state, scene, false)) { |