Fix T86384: Click detection fails in some cases with modifiers

Regression in b5d154f400
This commit is contained in:
Campbell Barton 2021-03-09 00:42:56 +11:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}