[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45880] trunk/blender/source/blender/ editors/mesh/editmesh_knife.c: add spacebar to confirm knife cut, space confirms - enter isnt so handy, This is consistent with fly mode and grab.

Campbell Barton ideasman42 at gmail.com
Mon Apr 23 13:19:39 CEST 2012


Revision: 45880
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45880
Author:   campbellbarton
Date:     2012-04-23 11:19:39 +0000 (Mon, 23 Apr 2012)
Log Message:
-----------
add spacebar to confirm knife cut, space confirms - enter isnt so handy, This is consistent with fly mode and grab.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_knife.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_knife.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2012-04-23 10:48:51 UTC (rev 45879)
+++ trunk/blender/source/blender/editors/mesh/editmesh_knife.c	2012-04-23 11:19:39 UTC (rev 45880)
@@ -2918,6 +2918,7 @@
 	WM_modalkeymap_add_item(keymap, RIGHTMOUSE, KM_PRESS, KM_ANY, 0, KNF_MODAL_CANCEL);
 	WM_modalkeymap_add_item(keymap, RETKEY, KM_PRESS, KM_ANY, 0, KNF_MODAL_CONFIRM);
 	WM_modalkeymap_add_item(keymap, PADENTER, KM_PRESS, KM_ANY, 0, KNF_MODAL_CONFIRM);
+	WM_modalkeymap_add_item(keymap, SPACEKEY, KM_PRESS, KM_ANY, 0, KNF_MODAL_CONFIRM);
 	WM_modalkeymap_add_item(keymap, EKEY, KM_PRESS, 0, 0, KNF_MODAL_NEW_CUT);
 
 	WM_modalkeymap_add_item(keymap, LEFTCTRLKEY, KM_PRESS, KM_ANY, 0, KNF_MODAL_MIDPOINT_ON);




More information about the Bf-blender-cvs mailing list