aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
index 2a019ca..bec1495 100644
--- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs
+++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs
@@ -976,7 +976,7 @@ namespace PrimMesher
976 this.faceNormal.Y = -this.faceNormal.Y; 976 this.faceNormal.Y = -this.faceNormal.Y;
977 this.faceNormal.Z = -this.faceNormal.Z; 977 this.faceNormal.Z = -this.faceNormal.Z;
978 978
979 int numUs = this.us.Count; 979 //int numUs = this.us.Count;
980 //for (int i = 0; i < numUs; i++) 980 //for (int i = 0; i < numUs; i++)
981 // this.us[i] 981 // this.us[i]
982 982
@@ -1928,7 +1928,6 @@ namespace PrimMesher
1928 1928
1929 public Coord SurfaceNormal(int faceIndex) 1929 public Coord SurfaceNormal(int faceIndex)
1930 { 1930 {
1931 int numFaces = faces.Count;
1932 if (faceIndex < 0 || faceIndex >= faces.Count) 1931 if (faceIndex < 0 || faceIndex >= faces.Count)
1933 throw new Exception("faceIndex out of range"); 1932 throw new Exception("faceIndex out of range");
1934 1933