diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-31 17:18:27 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-31 17:18:27 +0100 |
commit | 93b2f1a03926c64676c4ead61ea8cc46bfe1cb87 (patch) | |
tree | 6edf1b75e1d7482e61c7b236e0ec9e436db88b97 /indra/llui/llspinctrl.cpp | |
parent | 0d144b0a99a922c844c400a9f56266595a29bc48 (diff) |
VWR-22162 FIXED 'I can't add negative signs to TWIST in Edit Mode'
Probably a regression from the prevalidator rework - was enforcing non-negative int when precision=0 (i.e. non-float), should have been enforcing only full int range.
Diffstat (limited to 'indra/llui/llspinctrl.cpp')
-rw-r--r-- | indra/llui/llspinctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llspinctrl.cpp b/indra/llui/llspinctrl.cpp index 4890a75c4a..9decfa0b25 100644 --- a/indra/llui/llspinctrl.cpp +++ b/indra/llui/llspinctrl.cpp @@ -128,7 +128,7 @@ LLSpinCtrl::LLSpinCtrl(const LLSpinCtrl::Params& p) } else //should accept int numbers { - params.prevalidate_callback(&LLTextValidate::validateNonNegativeS32); + params.prevalidate_callback(&LLTextValidate::validateInt); } params.follows.flags(FOLLOWS_LEFT | FOLLOWS_BOTTOM); |