Fix T41740: Different behaviour of custom hotkey
Quick fix, this is actually a demonstration of why we should use modal keymaps! We can give any event to *start* the op, but then hard-code how to *end* it... tsk.
This commit is contained in:
parent
9460fe3fa0
commit
65da19b0cd
Notes:
blender-bot
2023-02-14 10:07:06 +01:00
Referenced by issue #41740, Different behaviour of custom hotkey
|
@ -167,6 +167,7 @@ static int graphview_cursor_modal(bContext *C, wmOperator *op, const wmEvent *ev
|
|||
|
||||
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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue