From 8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 18 Sep 2008 18:54:42 +0000 Subject: * Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux) --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs') diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 6a6d3e2..f64a92d 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -466,10 +466,10 @@ namespace OpenSim.Region.Physics.Meshing // Deal with cuts now if ((profileBegin != 0) || (profileEnd != 0)) { - double fProfileBeginAngle = profileBegin/50000.0*360.0; + double fProfileBeginAngle = profileBegin / 50000.0*360.0; // In degree, for easier debugging and understanding fProfileBeginAngle -= (90.0 + 45.0); // for some reasons, the SL client counts from the corner -X/-Y - double fProfileEndAngle = 360.0 - profileEnd/50000.0*360.0; // Pathend comes as complement to 1.0 + double fProfileEndAngle = 360.0 - profileEnd / 50000.0*360.0; // Pathend comes as complement to 1.0 fProfileEndAngle -= (90.0 + 45.0); // avoid some problem angles until the hull subtraction routine is fixed @@ -2024,7 +2024,6 @@ namespace OpenSim.Region.Physics.Meshing if (primShape.SculptEntry && primShape.SculptType != (byte)0 && primShape.SculptData.Length > 0) { - SculptMesh smesh = CreateSculptMesh(primName, primShape, size, lod); mesh = (Mesh)smesh; //CalcNormals(mesh); -- cgit v1.1