diff options
author | David Seikel | 2011-05-16 12:20:23 +1000 |
---|---|---|
committer | David Seikel | 2011-05-16 12:20:23 +1000 |
commit | a88e970bddfcb314ca40bbc5573a128ae846cf36 (patch) | |
tree | 991a7b79302eaf07913a3108d44ec33f8e5e1004 /linden/indra/newview | |
parent | Merge branch 'libotr' into exp (diff) | |
download | meta-impy-a88e970bddfcb314ca40bbc5573a128ae846cf36.zip meta-impy-a88e970bddfcb314ca40bbc5573a128ae846cf36.tar.gz meta-impy-a88e970bddfcb314ca40bbc5573a128ae846cf36.tar.bz2 meta-impy-a88e970bddfcb314ca40bbc5573a128ae846cf36.tar.xz |
Set the real bare minimum prim size to 0.00001, as 0 sized objects cause bugs.
Fixes bug http://onefang.net/redmine/issues/29
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 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 | { |