Commit: 51f6b25afd8a99a62418b1c68d6177bc273b2136
Author: Campbell Barton
Date:   Thu Jun 21 19:24:50 2018 +0200
Branches: master
https://developer.blender.org/rB51f6b25afd8a99a62418b1c68d6177bc273b2136

Revert "Fix T55568: second click event ignored"

This reverts commit 52aa963f0ef1b6f4abba6653e9a441dee234127a.

Fixed for keyboards, broke mouse buttons.

===================================================================

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 76e9b116321..c9a09f46a37 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -2329,13 +2329,6 @@ static int wm_handlers_do(bContext *C, wmEvent *event, 
ListBase *handlers)
                                else if (event->val == KM_DBL_CLICK) {
                                        event->val = KM_PRESS;
                                        action |= wm_handlers_do_intern(C, 
event, handlers);
-                                       event->val = KM_RELEASE;
-                                       action |= wm_handlers_do_intern(C, 
event, handlers);
-
-                                       if (wm_action_not_handled(action)) {
-                                               event->val = KM_CLICK;
-                                               action |= 
wm_handlers_do_intern(C, event, handlers);
-                                       }
 
                                        /* revert value if not handled */
                                        if (wm_action_not_handled(action)) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to