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:
-rw-r--r--source/blender/editors/util/numinput.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c
index 891051185ac..941152fb1fc 100644
--- a/source/blender/editors/util/numinput.c
+++ b/source/blender/editors/util/numinput.c
@@ -294,6 +294,11 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event)
n->str_cur = 0;
}
return true;
+ case PADPERIOD:
+ /* Force numdot, some OSs/countries generate a comma char in this case, sic... (T37992) */
+ ascii[0] = '.';
+ utf8_buf = ascii;
+ break;
case CKEY:
if (event->ctrl) {
/* Copy current str to the copypaste buffer. */