Possible fix for T39330 period key is ignored in transform operations

Not 100% certain if this fixes, I will ask the user to verify through
buildbot.
This commit is contained in:
Antonis Ryakiotakis 2014-03-21 21:06:49 +02:00
parent 0da3e97433
commit 4acb57a7a7
Notes: blender-bot 2023-02-14 10:56:47 +01:00
Referenced by issue #39330, Doesn't work button "." of the main part keyboard. (rot,loc,scal function)
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event)
}
return true;
case PADPERIOD:
case PERIODKEY:
/* Force numdot, some OSs/countries generate a comma char in this case, sic... (T37992) */
ascii[0] = '.';
utf8_buf = ascii;