diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/hippolimits.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/hippolimits.cpp b/linden/indra/newview/hippolimits.cpp index 3368ba4..d4c8efb 100644 --- a/linden/indra/newview/hippolimits.cpp +++ b/linden/indra/newview/hippolimits.cpp | |||
@@ -85,7 +85,9 @@ void HippoLimits::setOpenSimLimits() | |||
85 | void HippoLimits::setSecondLifeLimits() | 85 | void HippoLimits::setSecondLifeLimits() |
86 | { | 86 | { |
87 | llinfos << "Using Second Life limits" << llendl; | 87 | llinfos << "Using Second Life limits" << llendl; |
88 | mMaxAgentGroups = 25; | 88 | S32 max_groups = gHippoGridManager->getConnectedGrid()->getMaxAgentGroups(); |
89 | mMaxAgentGroups = llmax(max_groups, 25); | ||
90 | |||
89 | mMaxPrimScale = 10.0f; | 91 | mMaxPrimScale = 10.0f; |
90 | mMinPrimScale = 0.01f; | 92 | mMinPrimScale = 0.01f; |
91 | mMaxHeight = 4096.0f; | 93 | mMaxHeight = 4096.0f; |