From 979a354ba0d97d448a809e54f8cda91e5de6d8fb Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Sat, 4 Oct 2008 17:39:03 +0000 Subject: Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms. --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region') 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 { Mesh mesh = null; + if (size.X < 0.01f) size.X = 0.01f; + if (size.Y < 0.01f) size.Y = 0.01f; + if (size.Z < 0.01f) size.Z = 0.01f; + #if SPAM reportPrimParams(primName, primShape); #endif -- cgit v1.1