diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-10-01 01:07:42 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-10-01 01:07:42 +0400 |
commit | 0fce27d68e723f0f5611f2e4ea40f9130a5c631a (patch) | |
tree | d7801c73c4efdb31ce58358f017169345bf156b5 /source/blender | |
parent | da4b54cd5dd0f0e4c856626bb5ebbdf07a969668 (diff) |
Fix #24074: shift+MMB didn't pan in image editor like other 2d views.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index ffa8f6ebb83..66e27993532 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -501,6 +501,7 @@ void image_keymap(struct wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "IMAGE_OT_view_all", HOMEKEY, KM_PRESS, 0, 0); WM_keymap_add_item(keymap, "IMAGE_OT_view_selected", PADPERIOD, KM_PRESS, 0, 0); WM_keymap_add_item(keymap, "IMAGE_OT_view_pan", MIDDLEMOUSE, KM_PRESS, 0, 0); + WM_keymap_add_item(keymap, "IMAGE_OT_view_pan", MIDDLEMOUSE, KM_PRESS, KM_SHIFT, 0); WM_keymap_add_item(keymap, "IMAGE_OT_view_pan", MOUSEPAN, 0, 0, 0); WM_keymap_add_item(keymap, "IMAGE_OT_view_zoom_in", WHEELINMOUSE, KM_PRESS, 0, 0); |