[Bf-blender-cvs] [ce6ba15] master: Image Editor: use shift+home to fit the frame

Campbell Barton noreply at git.blender.org
Sun Feb 7 22:47:00 CET 2016


Commit: ce6ba157278f0a4da527c8fdd92213278c563d4d
Author: Campbell Barton
Date:   Mon Feb 8 08:38:48 2016 +1100
Branches: master
https://developer.blender.org/rBce6ba157278f0a4da527c8fdd92213278c563d4d

Image Editor: use shift+home to fit the frame

FKey conflicts with painting.

===================================================================

M	source/blender/editors/space_image/space_image.c

===================================================================

diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 93c446a..ccf9e82 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -285,7 +285,7 @@ static void image_keymap(struct wmKeyConfig *keyconf)
 	
 	WM_keymap_add_item(keymap, "IMAGE_OT_view_all", HOMEKEY, KM_PRESS, 0, 0);
 
-	kmi = WM_keymap_add_item(keymap, "IMAGE_OT_view_all", FKEY, KM_PRESS, 0, 0);
+	kmi = WM_keymap_add_item(keymap, "IMAGE_OT_view_all", HOMEKEY, KM_PRESS, KM_SHIFT, 0);
 	RNA_boolean_set(kmi->ptr, "fit_view", true);
 
 	WM_keymap_add_item(keymap, "IMAGE_OT_view_selected", PADPERIOD, KM_PRESS, 0, 0);




More information about the Bf-blender-cvs mailing list