aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index 161f4e1..b770d68 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -1580,6 +1580,13 @@ namespace OpenSim.Region.Physics.Meshing
1580 Console.WriteLine("Sphere dimple: fProfileBeginAngle: " + fProfileBeginAngle.ToString() + " fProfileEndAngle: " + fProfileEndAngle.ToString()); 1580 Console.WriteLine("Sphere dimple: fProfileBeginAngle: " + fProfileBeginAngle.ToString() + " fProfileEndAngle: " + fProfileEndAngle.ToString());
1581#endif 1581#endif
1582 } 1582 }
1583 else if ((primShape.ProfileCurve & 0x07) == (byte)ProfileShape.Square)
1584 { // tube cut is offset 45 degrees from other prim types
1585 fProfileBeginAngle += 45.0f;
1586 fProfileEndAngle += 45.0f;
1587 if (fProfileBeginAngle < fProfileEndAngle)
1588 fProfileEndAngle -= 360.0;
1589 }
1583 1590
1584 // Note, that we don't want to cut out a triangle, even if this is a 1591 // Note, that we don't want to cut out a triangle, even if this is a
1585 // good approximation for small cuts. Indeed we want to cut out an arc 1592 // good approximation for small cuts. Indeed we want to cut out an arc