summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-02-25 22:52:22 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-02-25 22:52:22 -0800
commit460a58bfc4eea07b5cdcb6192a955cb180fb9297 (patch)
tree5925527ba8eaa5f5b26da2d130519204187c9d31 /indra/newview
parent974510262081b20dd1256b8e538cebb07b38ae38 (diff)
PATH-341: BUGFIX Allowing walkability coefficients to be set to zero.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp
index cabbe1d130..ad021c4286 100644
--- a/indra/newview/llfloaterpathfindinglinksets.cpp
+++ b/indra/newview/llfloaterpathfindinglinksets.cpp
@@ -140,28 +140,28 @@ BOOL LLFloaterPathfindingLinksets::postBuild()
mEditA = findChild<LLLineEditor>("edit_a_value");
llassert(mEditA != NULL);
- mEditA->setPrevalidate(LLTextValidate::validatePositiveS32);
+ mEditA->setPrevalidate(LLTextValidate::validateNonNegativeS32);
mLabelEditB = findChild<LLTextBase>("edit_b_label");
llassert(mLabelEditB != NULL);
mEditB = findChild<LLLineEditor>("edit_b_value");
llassert(mEditB != NULL);
- mEditB->setPrevalidate(LLTextValidate::validatePositiveS32);
+ mEditB->setPrevalidate(LLTextValidate::validateNonNegativeS32);
mLabelEditC = findChild<LLTextBase>("edit_c_label");
llassert(mLabelEditC != NULL);
mEditC = findChild<LLLineEditor>("edit_c_value");
llassert(mEditC != NULL);
- mEditC->setPrevalidate(LLTextValidate::validatePositiveS32);
+ mEditC->setPrevalidate(LLTextValidate::validateNonNegativeS32);
mLabelEditD = findChild<LLTextBase>("edit_d_label");
llassert(mLabelEditD != NULL);
mEditD = findChild<LLLineEditor>("edit_d_value");
llassert(mEditD != NULL);
- mEditD->setPrevalidate(LLTextValidate::validatePositiveS32);
+ mEditD->setPrevalidate(LLTextValidate::validateNonNegativeS32);
mApplyEditsButton = findChild<LLButton>("apply_edit_values");
llassert(mApplyEditsButton != NULL);