Fix T38743: Modal input feature appears to be missing from 2.70 test builds

Add 'pad *' in addition to '=' to toggle basic/advanced numinput modes.
This commit is contained in:
Bastien Montagne 2014-02-22 12:08:39 +01:00
parent 3fe487217d
commit c1cdce364b
Notes: blender-bot 2023-02-14 11:35:46 +01:00
Referenced by issue #38743, Modal input feature appears to be missing from 2.70 test builds
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event)
utf8_buf = ascii;
break;
case EQUALKEY:
case PADASTERKEY:
if (!(n->flag & NUM_EDIT_FULL)) {
n->flag |= NUM_EDIT_FULL;
return true;