aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index 1d1067c..3e14fc4 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -251,6 +251,8 @@ namespace OpenSim.Region.Physics.Meshing
251 float profileBegin = (float)primShape.ProfileBegin * 2.0e-5f; 251 float profileBegin = (float)primShape.ProfileBegin * 2.0e-5f;
252 float profileEnd = 1.0f - (float)primShape.ProfileEnd * 2.0e-5f; 252 float profileEnd = 1.0f - (float)primShape.ProfileEnd * 2.0e-5f;
253 float profileHollow = (float)primShape.ProfileHollow * 2.0e-5f; 253 float profileHollow = (float)primShape.ProfileHollow * 2.0e-5f;
254 if (profileHollow > 0.95f)
255 profileHollow = 0.95f;
254 256
255 int sides = 4; 257 int sides = 4;
256 if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.EquilateralTriangle) 258 if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.EquilateralTriangle)