From f2ccb2e64190673629d59b3ee1b318e7940b2471 Mon Sep 17 00:00:00 2001
From: McCabe Maxsted
Date: Wed, 25 Aug 2010 07:38:55 -0700
Subject: Made disable max build constraints also disable max position spinner
 values

---
 linden/indra/newview/llfloatertools.cpp | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'linden')

diff --git a/linden/indra/newview/llfloatertools.cpp b/linden/indra/newview/llfloatertools.cpp
index 4f31c3c..7a9efcb 100644
--- a/linden/indra/newview/llfloatertools.cpp
+++ b/linden/indra/newview/llfloatertools.cpp
@@ -186,6 +186,10 @@ void LLFloaterTools::updateToolsSizeLimits()
 		getChild<LLSpinCtrl>("Scale X")->setMaxValue(F32_MAX);
 		getChild<LLSpinCtrl>("Scale Y")->setMaxValue(F32_MAX);
 		getChild<LLSpinCtrl>("Scale Z")->setMaxValue(F32_MAX);
+
+		getChild<LLSpinCtrl>("Pos X")->setMaxValue(F32_MAX);
+		getChild<LLSpinCtrl>("Pos Y")->setMaxValue(F32_MAX);
+		getChild<LLSpinCtrl>("Pos Z")->setMaxValue(F32_MAX);
 	}
 	else
 	{
-- 
cgit v1.1