[Bf-blender-cvs] [0b50ce1db4b] blender2.8: Fix file browsers thumbnail selection with tablet failing, after recent changes.
Brecht Van Lommel
noreply at git.blender.org
Fri Nov 30 19:18:37 CET 2018
Commit: 0b50ce1db4b19e63d108c503c8a66375c3f12f7b
Author: Brecht Van Lommel
Date: Fri Nov 30 19:11:14 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB0b50ce1db4b19e63d108c503c8a66375c3f12f7b
Fix file browsers thumbnail selection with tablet failing, after recent changes.
===================================================================
M source/blender/windowmanager/intern/wm_event_system.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index 23c149b46b5..9df05d307cc 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -3125,7 +3125,10 @@ void wm_event_do_handlers(bContext *C)
/* If press was handled, we don't want to do click. This way
* press in tool keymap can override click in editor keymap.*/
- if (event->val == KM_PRESS && !wm_action_not_handled(action)) {
+ if (ISMOUSE_BUTTON(event->type) &&
+ event->val == KM_PRESS &&
+ !wm_action_not_handled(action))
+ {
win->eventstate->check_click = false;
}
More information about the Bf-blender-cvs
mailing list