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:
authorCampbell Barton <ideasman42@gmail.com>2018-07-10 18:10:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-10 18:11:01 +0300
commitc10ece49baea0458f44668d8ad92764c2c361c90 (patch)
tree87cb737084a86c1b61728d74c65fe3d7b8410f7d /source/blender/editors/util
parente6dccb4b01f9c62d101dbb52d3e7f7cb7d138afa (diff)
Fix for recent numeric input checks
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/numinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c
index f67ea1d5989..4de61395314 100644
--- a/source/blender/editors/util/numinput.c
+++ b/source/blender/editors/util/numinput.c
@@ -277,7 +277,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event)
int cur;
#ifndef USE_FAKE_EDIT
- if ((event->ctrl == 0) && (event->alt == 0) &&
+ if ((event->ctrl == 0) && (event->alt == 0) && (event->ascii != '\0') &&
strchr("01234567890@%^&*-+/{}()[]<>.|", event->ascii))
{
if (!(n->flag & NUM_EDIT_FULL)) {