diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-06 17:52:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-06 18:41:15 +0400 |
commit | c0e3540898a922518d429abb81aecd98551daca6 (patch) | |
tree | 7eebf8ab74c0b1151aa3676249b48b0e4ec4eff3 | |
parent | 247b869967812891f6b77585184a3b09f3f16a18 (diff) |
Fix in-between mouse events getting assign to keys
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index d3c9ec1fafb..9138ac92ab9 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3111,8 +3111,9 @@ static int ui_do_but_KEYEVT(bContext *C, uiBut *but, uiHandleButtonData *data, c } } else if (data->state == BUTTON_STATE_WAIT_KEY_EVENT) { - if (event->type == MOUSEMOVE) + if (ELEM(event->type, MOUSEMOVE, INBETWEEN_MOUSEMOVE)) { return WM_UI_HANDLER_CONTINUE; + } if (event->val == KM_PRESS) { if (WM_key_event_string(event->type)[0]) |