diff options
Diffstat (limited to 'linden/indra/newview/hippolimits.cpp')
-rw-r--r-- | linden/indra/newview/hippolimits.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linden/indra/newview/hippolimits.cpp b/linden/indra/newview/hippolimits.cpp index 2c581ae..d6d6c36 100644 --- a/linden/indra/newview/hippolimits.cpp +++ b/linden/indra/newview/hippolimits.cpp | |||
@@ -17,7 +17,7 @@ HippoLimits *gHippoLimits = 0; | |||
17 | HippoLimits::HippoLimits() | 17 | HippoLimits::HippoLimits() |
18 | : | 18 | : |
19 | mMaxAgentGroups(100), | 19 | mMaxAgentGroups(100), |
20 | mMaxHeight(10000.0f), | 20 | mMaxHeight(16383.0f), |
21 | mMinHoleSize(0.05f), | 21 | mMinHoleSize(0.05f), |
22 | mMaxHollow(0.95f), | 22 | mMaxHollow(0.95f), |
23 | mMinPrimScale(0.001f), | 23 | mMinPrimScale(0.001f), |
@@ -59,7 +59,7 @@ void HippoLimits::setOpenSimLimits() | |||
59 | mMaxPrimXPos = F32_MAX; | 59 | mMaxPrimXPos = F32_MAX; |
60 | mMaxPrimYPos = F32_MAX; | 60 | mMaxPrimYPos = F32_MAX; |
61 | mMaxPrimZPos = F32_MAX; | 61 | mMaxPrimZPos = F32_MAX; |
62 | mMaxHeight = 10000.0f; | 62 | mMaxHeight = 16383.0f; |
63 | mMaxLinkedPrims = -1; | 63 | mMaxLinkedPrims = -1; |
64 | mMaxPhysLinkedPrims = -1; | 64 | mMaxPhysLinkedPrims = -1; |
65 | mAllowParcelWindLight = TRUE; | 65 | mAllowParcelWindLight = TRUE; |
@@ -150,7 +150,9 @@ F32 HippoLimits::getMinPrimScale() const | |||
150 | { | 150 | { |
151 | if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild) | 151 | if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild) |
152 | { | 152 | { |
153 | return 0; | 153 | // Don't return 0, that causes a few bugs when it's used to creat objects zero sized. |
154 | // 0.00001 should be the minimum the edit controls can display anyway. | ||
155 | return 0.00001f; | ||
154 | } | 156 | } |
155 | else | 157 | else |
156 | { | 158 | { |