aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelobject.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-18 08:52:24 -0700
committerMcCabe Maxsted2009-09-18 08:52:24 -0700
commit4cdef469977e8907b06e1fafb4d7c54a6eff93f9 (patch)
tree0e51a35185676db5d5260a7bc5060f5cc68dc6a9 /linden/indra/newview/llpanelobject.cpp
parentMerge branch '1.2.0-streaminfo' into 1.2.0-next (diff)
downloadmeta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.zip
meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.gz
meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.bz2
meta-impy-4cdef469977e8907b06e1fafb4d7c54a6eff93f9.tar.xz
Dynamically change max prim size depending upon LL/OpenSim grid (added setting for opensim detection: LoggedIntoOpenSim). OpenSim max is 128m
Diffstat (limited to 'linden/indra/newview/llpanelobject.cpp')
-rw-r--r--linden/indra/newview/llpanelobject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanelobject.cpp b/linden/indra/newview/llpanelobject.cpp
index dd71a0e..9dcf410 100644
--- a/linden/indra/newview/llpanelobject.cpp
+++ b/linden/indra/newview/llpanelobject.cpp
@@ -631,6 +631,10 @@ void LLPanelObject::getState( )
631 } 631 }
632 else 632 else
633 { 633 {
634 mCtrlScaleX->setMaxValue(LLManipScale::getMaxPrimSize());
635 mCtrlScaleY->setMaxValue(LLManipScale::getMaxPrimSize());
636 mCtrlScaleZ->setMaxValue(LLManipScale::getMaxPrimSize());
637
634 // Only allowed to change these parameters for objects 638 // Only allowed to change these parameters for objects
635 // that you have permissions on AND are not attachments. 639 // that you have permissions on AND are not attachments.
636 enabled = root_objectp->permModify(); 640 enabled = root_objectp->permModify();