From c10ece49baea0458f44668d8ad92764c2c361c90 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 10 Jul 2018 17:10:38 +0200 Subject: Fix for recent numeric input checks --- source/blender/editors/util/numinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/util') 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)) { -- cgit v1.2.3