diff options
author | Justin Clarke Casey | 2008-10-24 21:40:05 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-24 21:40:05 +0000 |
commit | c519b80680d8ca5d0b98736af6b9029768697a3a (patch) | |
tree | efc50e189935e10607af4facdd693263819f8b4e /OpenSim/Region/Physics/Meshing | |
parent | * Stop passing in unnecessary pameters to CreateNewCircuit (diff) | |
download | opensim-SC_OLD-c519b80680d8ca5d0b98736af6b9029768697a3a.zip opensim-SC_OLD-c519b80680d8ca5d0b98736af6b9029768697a3a.tar.gz opensim-SC_OLD-c519b80680d8ca5d0b98736af6b9029768697a3a.tar.bz2 opensim-SC_OLD-c519b80680d8ca5d0b98736af6b9029768697a3a.tar.xz |
* minor: eliminate some mono compiler warnings
Diffstat (limited to '')
-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 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 | ||