Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2012-03-08 15:56:11 +0400
committerHoward Trickey <howard.trickey@gmail.com>2012-03-08 15:56:11 +0400
commitfc170e6a4ed0bbea917ef1f9886a2b461811d50a (patch)
treeba5c274f757723541746a6c8a1d3fa17e8b9c7f9
parentf839e2d41a3ff7b2c3a5bc11274e624ee9ea6a1b (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.
-rw-r--r--source/blender/editors/mesh/knifetool.c2
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);