diff options
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index ade4034..98c7b5b 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs | |||
@@ -1405,7 +1405,6 @@ namespace PrimMesher | |||
1405 | 1405 | ||
1406 | public Coord SurfaceNormal(int faceIndex) | 1406 | public Coord SurfaceNormal(int faceIndex) |
1407 | { | 1407 | { |
1408 | int numFaces = faces.Count; | ||
1409 | if (faceIndex < 0 || faceIndex >= faces.Count) | 1408 | if (faceIndex < 0 || faceIndex >= faces.Count) |
1410 | throw new Exception("faceIndex out of range"); | 1409 | throw new Exception("faceIndex out of range"); |
1411 | 1410 | ||