diff options
author | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-18 08:52:24 -0700 |
commit | 4cdef469977e8907b06e1fafb4d7c54a6eff93f9 (patch) | |
tree | 0e51a35185676db5d5260a7bc5060f5cc68dc6a9 /linden/indra/newview/llpanelobject.cpp | |
parent | Merge branch '1.2.0-streaminfo' into 1.2.0-next (diff) | |
download | meta-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.cpp | 4 |
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(); |