aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/hippoLimits.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-04-14 00:20:56 -0700
committerMcCabe Maxsted2010-04-14 00:20:56 -0700
commit834a60163bba95d53c297c791e49a597b87144f3 (patch)
tree0dc2c00c07be28940a72011ef9291cd817a2c0d5 /linden/indra/newview/hippoLimits.cpp
parentAdded prim media functions and new script functions from SL server 1.38.0 (diff)
parentfix bring help-f1 page under control of hippogridmanager (diff)
downloadmeta-impy-834a60163bba95d53c297c791e49a597b87144f3.zip
meta-impy-834a60163bba95d53c297c791e49a597b87144f3.tar.gz
meta-impy-834a60163bba95d53c297c791e49a597b87144f3.tar.bz2
meta-impy-834a60163bba95d53c297c791e49a597b87144f3.tar.xz
Merge commit 'armin/beta2-bugfixes' into 1.3-beta2bugfixes
Diffstat (limited to 'linden/indra/newview/hippoLimits.cpp')
-rw-r--r--linden/indra/newview/hippoLimits.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/hippoLimits.cpp b/linden/indra/newview/hippoLimits.cpp
index dae81a6..96b3bee 100644
--- a/linden/indra/newview/hippoLimits.cpp
+++ b/linden/indra/newview/hippoLimits.cpp
@@ -33,13 +33,15 @@ void HippoLimits::setOpenSimLimits()
33 mMaxAgentGroups = 100; 33 mMaxAgentGroups = 100;
34 mMaxPrimScale = 256.0f; 34 mMaxPrimScale = 256.0f;
35 mMaxHeight = 10000.0f; 35 mMaxHeight = 10000.0f;
36 mMaxLinkedPrims = -1;
37
36 if (gHippoGridManager->getConnectedGrid()->isRenderCompat()) { 38 if (gHippoGridManager->getConnectedGrid()->isRenderCompat()) {
37 llinfos << "Using rendering compatible OpenSim limits." << llendl; 39 llinfos << "Using rendering compatible OpenSim limits." << llendl;
38 mMinHoleSize = 0.05f; 40 mMinHoleSize = 0.05f;
39 mMaxHollow = 0.95f; 41 mMaxHollow = 0.95f;
40 } else { 42 } else {
41 llinfos << "Using Hippo OpenSim limits." << llendl; 43 llinfos << "Using Hippo OpenSim limits." << llendl;
42 mMinHoleSize = 0.01f; 44 mMinHoleSize = 0.01f;
43 mMaxHollow = 0.99f; 45 mMaxHollow = 0.99f;
44 } 46 }
45} 47}
@@ -52,5 +54,6 @@ void HippoLimits::setSecondLifeLimits()
52 mMaxHeight = 4096.0f; 54 mMaxHeight = 4096.0f;
53 mMinHoleSize = 0.05f; 55 mMinHoleSize = 0.05f;
54 mMaxHollow = 0.95f; 56 mMaxHollow = 0.95f;
57 mMaxLinkedPrims = 255;
55} 58}
56 59