diff options
Diffstat (limited to 'linden/indra/newview')
-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 4516668..f6f36fa 100644 --- a/linden/indra/newview/hippolimits.cpp +++ b/linden/indra/newview/hippolimits.cpp | |||
@@ -131,7 +131,9 @@ F32 HippoLimits::getMinPrimScale() const | |||
131 | { | 131 | { |
132 | if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild) | 132 | if (gSavedSettings.getBOOL("DisableMaxBuildConstraints") && !mEnforceMaxBuild) |
133 | { | 133 | { |
134 | return 0; | 134 | // Don't return 0, that causes a few bugs when it's used to creat objects zero sized. |
135 | // 0.00001 should be the minimum the edit controls can display anyway. | ||
136 | return 0.00001f; | ||
135 | } | 137 | } |
136 | else | 138 | else |
137 | { | 139 | { |