Fix T40653: Modified keymap: MMB not behaving like RMB?

Modal frame_change was not terminating on mmb release event...
This commit is contained in:
Bastien Montagne 2014-08-18 16:37:01 +02:00
parent 2a514f8e29
commit eb10cda135
Notes: blender-bot 2023-02-14 10:29:31 +01:00
Referenced by issue #40653, Modified keymap: MMB not behaving like RMB?
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ static int change_frame_modal(bContext *C, wmOperator *op, const wmEvent *event)
case LEFTMOUSE:
case RIGHTMOUSE:
case MIDDLEMOUSE:
/* we check for either mouse-button to end, as checking for ACTIONMOUSE (which is used to init
* the modal op) doesn't work for some reason
*/