diff options
author | Matt Ebb <matt@mke3.net> | 2007-04-06 09:31:46 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2007-04-06 09:31:46 +0400 |
commit | 21d1b9e31084246da631de76b5903e831e4f9be6 (patch) | |
tree | 99665cd71c6aa53d0213f28d308d1fbc9c6c5c3d /source | |
parent | 8f9d243532da2c826a51ccd4844929c38ca5e35a (diff) |
* Tablet sensitivity for number field dragging now revealed from behind rt.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/interface.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 40685e9a0e9..51191800290 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -2151,10 +2151,8 @@ static int ui_do_but_NUM(uiBut *but) if(qual & LR_ALTKEY) deler*= 20.0; /* de-sensitise based on tablet pressure */ - if (G.rt == 5) { - if (ELEM(get_activedevice(), DEV_STYLUS, DEV_ERASER)) deler /= pressure; - } - + if (ELEM(get_activedevice(), DEV_STYLUS, DEV_ERASER)) deler /= pressure; + if(mval[0] != sx) { if( but->pointype==FLO && but->max-but->min > 11) { /* non linear change in mouse input- good for high precicsion */ |