[Bf-blender-cvs] [eb10cda] master: Fix T40653: Modified keymap: MMB not behaving like RMB?
Bastien Montagne
noreply at git.blender.org
Mon Aug 18 16:48:53 CEST 2014
Commit: eb10cda1356811d5ecbfa5cb09d8b947e0c2b194
Author: Bastien Montagne
Date: Mon Aug 18 16:37:01 2014 +0200
Branches: master
https://developer.blender.org/rBeb10cda1356811d5ecbfa5cb09d8b947e0c2b194
Fix T40653: Modified keymap: MMB not behaving like RMB?
Modal frame_change was not terminating on mmb release event...
===================================================================
M source/blender/editors/animation/anim_ops.c
===================================================================
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 620bd52..0f20200 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -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
*/
More information about the Bf-blender-cvs
mailing list