diff options
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index 3f7d40c..6494cf5 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 | ||
@@ -1930,7 +1930,6 @@ namespace PrimMesher | |||
1930 | 1930 | ||
1931 | public Coord SurfaceNormal(int faceIndex) | 1931 | public Coord SurfaceNormal(int faceIndex) |
1932 | { | 1932 | { |
1933 | int numFaces = faces.Count; | ||
1934 | if (faceIndex < 0 || faceIndex >= faces.Count) | 1933 | if (faceIndex < 0 || faceIndex >= faces.Count) |
1935 | throw new Exception("faceIndex out of range"); | 1934 | throw new Exception("faceIndex out of range"); |
1936 | 1935 | ||