diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2012-03-08 15:56:11 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2012-03-08 15:56:11 +0400 |
commit | fc170e6a4ed0bbea917ef1f9886a2b461811d50a (patch) | |
tree | ba5c274f757723541746a6c8a1d3fa17e8b9c7f9 /source/blender/editors/mesh/knifetool.c | |
parent | f839e2d41a3ff7b2c3a5bc11274e624ee9ea6a1b (diff) |
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.
Diffstat (limited to 'source/blender/editors/mesh/knifetool.c')
-rw-r--r-- | source/blender/editors/mesh/knifetool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/knifetool.c b/source/blender/editors/mesh/knifetool.c index e77cb113b18..0c9dd8fc699 100644 --- a/source/blender/editors/mesh/knifetool.c +++ b/source/blender/editors/mesh/knifetool.c @@ -2753,7 +2753,7 @@ wmKeyMap *knifetool_modal_keymap(wmKeyConfig *keyconf) 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); |