aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-18 18:54:42 +0000
committerJustin Clarke Casey2008-09-18 18:54:42 +0000
commit8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2 (patch)
treefd148eead472df1afa9da4ab46de4e024ce48497 /OpenSim/Region/Physics/Meshing/Meshmerizer.cs
parentReverse yes and no for the parcel's "public" property to make it accurately (diff)
downloadopensim-SC-8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2.zip
opensim-SC-8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2.tar.gz
opensim-SC-8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2.tar.bz2
opensim-SC-8ff1bc5b03adfc11903dfdc244e6fe26f07b4bd2.tar.xz
* Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs5
1 files changed, 2 insertions, 3 deletions
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
466 // Deal with cuts now 466 // Deal with cuts now
467 if ((profileBegin != 0) || (profileEnd != 0)) 467 if ((profileBegin != 0) || (profileEnd != 0))
468 { 468 {
469 double fProfileBeginAngle = profileBegin/50000.0*360.0; 469 double fProfileBeginAngle = profileBegin / 50000.0*360.0;
470 // In degree, for easier debugging and understanding 470 // In degree, for easier debugging and understanding
471 fProfileBeginAngle -= (90.0 + 45.0); // for some reasons, the SL client counts from the corner -X/-Y 471 fProfileBeginAngle -= (90.0 + 45.0); // for some reasons, the SL client counts from the corner -X/-Y
472 double fProfileEndAngle = 360.0 - profileEnd/50000.0*360.0; // Pathend comes as complement to 1.0 472 double fProfileEndAngle = 360.0 - profileEnd / 50000.0*360.0; // Pathend comes as complement to 1.0
473 fProfileEndAngle -= (90.0 + 45.0); 473 fProfileEndAngle -= (90.0 + 45.0);
474 474
475 // avoid some problem angles until the hull subtraction routine is fixed 475 // avoid some problem angles until the hull subtraction routine is fixed
@@ -2024,7 +2024,6 @@ namespace OpenSim.Region.Physics.Meshing
2024 2024
2025 if (primShape.SculptEntry && primShape.SculptType != (byte)0 && primShape.SculptData.Length > 0) 2025 if (primShape.SculptEntry && primShape.SculptType != (byte)0 && primShape.SculptData.Length > 0)
2026 { 2026 {
2027
2028 SculptMesh smesh = CreateSculptMesh(primName, primShape, size, lod); 2027 SculptMesh smesh = CreateSculptMesh(primName, primShape, size, lod);
2029 mesh = (Mesh)smesh; 2028 mesh = (Mesh)smesh;
2030 //CalcNormals(mesh); 2029 //CalcNormals(mesh);