Fix T86384: Click detection fails in some cases with modifiers
Regression in b5d154f400
This commit is contained in:
parent
b6c07d69e2
commit
09a8f5ebca
Notes:
blender-bot
2023-02-14 02:43:21 +01:00
Referenced by issue #86384, Add to selection with Ctrl+left click requires additional click
|
@ -3002,7 +3002,7 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
|
|||
* wasn't handled, the KM_RELEASE will become a KM_CLICK */
|
||||
|
||||
if (event->val == KM_PRESS) {
|
||||
if (event->prevval != KM_PRESS) {
|
||||
if (event->is_repeat == false) {
|
||||
win->event_queue_check_click = true;
|
||||
win->event_queue_check_drag = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue