From 6914fb6f139ceccdfa7722c2983b45887baacdb5 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Sun, 6 Jul 2008 19:44:59 +0000 Subject: disables changes in r5356 until I have more time to do further characterization --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index e532415..46e6843 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -1582,14 +1582,14 @@ namespace OpenSim.Region.Physics.Meshing if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.HalfCircle) { // dimpled sphere uses profile cut but since it's a half circle the angles are smaller - if (hollowFactor == 0) hollowFactor = 1000; // bare minimum hollow to keep the triangulator happy + //if (hollowFactor == 0) hollowFactor = 1000; // bare minimum hollow to keep the triangulator happy fProfileBeginAngle = 0.0036f * (float)primShape.ProfileBegin; fProfileEndAngle = 180.0f - 0.0036f * (float)primShape.ProfileEnd; if (fProfileBeginAngle < fProfileEndAngle) fProfileEndAngle -= 360.0f; // a cut starting at 0 degrees with a hollow causes an infinite loop so move the start angle // past it into the empty part of the circle to avoid this condition - if (fProfileBeginAngle == 0.0f && hollowFactor != 0) fProfileBeginAngle = -10.0f; + if (fProfileBeginAngle == 0.0f) fProfileBeginAngle = -10.0f; #if SPAM Console.WriteLine("Sphere dimple: fProfileBeginAngle: " + fProfileBeginAngle.ToString() + " fProfileEndAngle: " + fProfileEndAngle.ToString()); -- cgit v1.1