aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorDahlia Trimble2008-10-04 17:39:03 +0000
committerDahlia Trimble2008-10-04 17:39:03 +0000
commit979a354ba0d97d448a809e54f8cda91e5de6d8fb (patch)
tree0d246f973d8d07c46d360afcbfbe1fb67589a907 /OpenSim/Region/Physics
parentCause a request to a different attachment point to taint the attachment so (diff)
downloadopensim-SC-979a354ba0d97d448a809e54f8cda91e5de6d8fb.zip
opensim-SC-979a354ba0d97d448a809e54f8cda91e5de6d8fb.tar.gz
opensim-SC-979a354ba0d97d448a809e54f8cda91e5de6d8fb.tar.bz2
opensim-SC-979a354ba0d97d448a809e54f8cda91e5de6d8fb.tar.xz
Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index a2d6656..4e43a1b 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -2022,6 +2022,10 @@ namespace OpenSim.Region.Physics.Meshing
2022 { 2022 {
2023 Mesh mesh = null; 2023 Mesh mesh = null;
2024 2024
2025 if (size.X < 0.01f) size.X = 0.01f;
2026 if (size.Y < 0.01f) size.Y = 0.01f;
2027 if (size.Z < 0.01f) size.Z = 0.01f;
2028
2025#if SPAM 2029#if SPAM
2026 reportPrimParams(primName, primShape); 2030 reportPrimParams(primName, primShape);
2027#endif 2031#endif