diff options
author | Justin Clarke Casey | 2008-10-27 20:16:42 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-27 20:16:42 +0000 |
commit | 754f6ba2a2e5a754d7e7a90327997097f30eaf5e (patch) | |
tree | f3d7fb78bb2f9418e927a761f56ca24ba64e9e3b /OpenSim/Region/Physics/Meshing | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=2468 (diff) | |
download | opensim-SC_OLD-754f6ba2a2e5a754d7e7a90327997097f30eaf5e.zip opensim-SC_OLD-754f6ba2a2e5a754d7e7a90327997097f30eaf5e.tar.gz opensim-SC_OLD-754f6ba2a2e5a754d7e7a90327997097f30eaf5e.tar.bz2 opensim-SC_OLD-754f6ba2a2e5a754d7e7a90327997097f30eaf5e.tar.xz |
* minor: remove mono compiler warnings
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 | ||