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:
Diffstat (limited to 'release/scripts/knife.py')
-rw-r--r--release/scripts/knife.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/knife.py b/release/scripts/knife.py
index dfe3135dd68..4a7943d8902 100644
--- a/release/scripts/knife.py
+++ b/release/scripts/knife.py
@@ -657,7 +657,7 @@ def draw():
msg = ''
def event(evt, val):
- if evt == Draw.QKEY and not val:
+ if (evt == Draw.QKEY or evt == Draw.ESCKEY) and not val:
Draw.Exit()
if evt == Draw.CKEY and not val:
CutMesh()