diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-10 18:10:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-10 18:11:01 +0300 |
commit | c10ece49baea0458f44668d8ad92764c2c361c90 (patch) | |
tree | 87cb737084a86c1b61728d74c65fe3d7b8410f7d /source/blender | |
parent | e6dccb4b01f9c62d101dbb52d3e7f7cb7d138afa (diff) |
Fix for recent numeric input checks
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/util/numinput.c | 2 |
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)) { |