Revision: 44738
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44738
Author:   howardt
Date:     2012-03-08 11:56:11 +0000 (Thu, 08 Mar 2012)
Log Message:
-----------
Knifetool: change ESC to mean cancel, not confirm.

This corresponds to the more usual convention.
There was no key connected to Cancel, and we already
have Return, Numpad-Return, and Right-click for confirm.

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

Modified: trunk/blender/source/blender/editors/mesh/knifetool.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/knifetool.c       2012-03-08 
10:53:40 UTC (rev 44737)
+++ trunk/blender/source/blender/editors/mesh/knifetool.c       2012-03-08 
11:56:11 UTC (rev 44738)
@@ -2753,7 +2753,7 @@
        keymap = WM_modalkeymap_add(keyconf, "Knife Tool Modal Map", 
modal_items);
        
        /* items for modal map */
-       WM_modalkeymap_add_item(keymap, ESCKEY,    KM_PRESS, KM_ANY, 0, 
KNF_MODAL_CONFIRM);
+       WM_modalkeymap_add_item(keymap, ESCKEY,    KM_PRESS, KM_ANY, 0, 
KNF_MODAL_CANCEL);
        WM_modalkeymap_add_item(keymap, LEFTMOUSE, KM_PRESS, KM_ANY, 0, 
KNF_MODAL_ADD_CUT);
        WM_modalkeymap_add_item(keymap, RIGHTMOUSE, KM_PRESS, KM_ANY, 0, 
KNF_MODAL_CONFIRM);
        WM_modalkeymap_add_item(keymap, RETKEY, KM_PRESS, KM_ANY, 0, 
KNF_MODAL_CONFIRM);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to