Map manipulator to leftmouse, not actionmouse.
authorMartin Poirier <theeth@yahoo.com>
Wed, 26 Aug 2009 01:49:57 +0000 (01:49 +0000)
committerMartin Poirier <theeth@yahoo.com>
Wed, 26 Aug 2009 01:49:57 +0000 (01:49 +0000)
We don't want this to flip around when people change left or right mouse select.

source/blender/editors/space_view3d/view3d_ops.c

index 929272bc0664d1bc7014448c8a2264dbeaa5be25..e9d1f6406b023cbfd875642b98bdbc7dc6a7027e 100644 (file)
@@ -132,7 +132,8 @@ void view3d_keymap(wmWindowManager *wm)
        km = WM_keymap_add_item(keymap, "SKETCH_OT_draw_preview", MOUSEMOVE, KM_ANY, KM_CTRL, 0);
        RNA_boolean_set(km->ptr, "snap", 1);
 
-       WM_keymap_verify_item(keymap, "VIEW3D_OT_manipulator", ACTIONMOUSE, KM_PRESS, 0, 0);
+       WM_keymap_verify_item(keymap, "VIEW3D_OT_manipulator", LEFTMOUSE, KM_PRESS, 0, 0); /* manipulator always on left mouse, not on action mouse*/
+       
        WM_keymap_verify_item(keymap, "VIEW3D_OT_cursor3d", ACTIONMOUSE, KM_PRESS, 0, 0);
        
        WM_keymap_verify_item(keymap, "VIEW3D_OT_viewrotate", MIDDLEMOUSE, KM_PRESS, 0, 0);