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.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);