Blender Git Commit Log

Git Commits -> Revision 37b7b3a

Revision 37b7b3a by Julian Eisel (master)
March 28, 2016, 14:45 (GMT)
T47532: Pop-ups drop fast mouse clicks

Caused by rBc24be7ec6e5.

Before rBc24be7ec6e5, wm_handlers_do always called handlers a second time with event value KM_PRESS in case of a double click. After it, this was only the case for non-LEFTMOUSE events.
Since ui_popup_handler (almost) always returned WM_UI_HANDLER_BREAK, the second handler iteration with KM_PRESS wouldn't run. This fix just makes sure we return WM_UI_HANDLER_CONTINUE for double click events instead (causing second iteration to run).

Commit Details:

Full Hash: 37b7b3a9355af05ad322491c20dab9fb3e79b54d
Parent Commit: 28ca3eb
Lines Changed: +8, -4

1 Modified Path:

/source/blender/editors/interface/interface_handlers.c (+8, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021