aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs18
-rw-r--r--OpenSim/Region/Physics/Meshing/PrimMesher.cs3
2 files changed, 10 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
index a8d5a21..52e7439 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
@@ -428,15 +428,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
428 } 428 }
429 } 429 }
430 430
431 private static void checkIntegerParams(XmlRpcRequest request, string[] param) 431// private static void checkIntegerParams(XmlRpcRequest request, string[] param)
432 { 432// {
433 Hashtable requestData = (Hashtable) request.Params[0]; 433// Hashtable requestData = (Hashtable) request.Params[0];
434 foreach (string p in param) 434// foreach (string p in param)
435 { 435// {
436 if (!requestData.Contains(p)) 436// if (!requestData.Contains(p))
437 throw new Exception(String.Format("missing integer parameter {0}", p)); 437// throw new Exception(String.Format("missing integer parameter {0}", p));
438 } 438// }
439 } 439// }
440 440
441 public XmlRpcResponse XmlRpcUpdateWelcomeMethod(XmlRpcRequest request) 441 public XmlRpcResponse XmlRpcUpdateWelcomeMethod(XmlRpcRequest request)
442 { 442 {
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