aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-30 18:09:38 +0000
committerJustin Clarke Casey2008-08-30 18:09:38 +0000
commit49ec6dd8826aa4e5a022808572abb327e279a06e (patch)
tree7490e83cd27a3170a9cee98d776a84a109df7b12
parent* Remove unused OpenSim/Framework/RegionHandle.cs as per Homer's suggestion i... (diff)
downloadopensim-SC-49ec6dd8826aa4e5a022808572abb327e279a06e.zip
opensim-SC-49ec6dd8826aa4e5a022808572abb327e279a06e.tar.gz
opensim-SC-49ec6dd8826aa4e5a022808572abb327e279a06e.tar.bz2
opensim-SC-49ec6dd8826aa4e5a022808572abb327e279a06e.tar.xz
* squash some obvious warnings
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script engine)
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
-rw-r--r--OpenSim/Region/Physics/Meshing/Mesh.cs6
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 2b8bbbd..22b7c00 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1741,7 +1741,7 @@ namespace OpenSim.Region.Environment.Scenes
1741 /// <param name="group"></param> 1741 /// <param name="group"></param>
1742 public void DeleteSceneObject(SceneObjectGroup group) 1742 public void DeleteSceneObject(SceneObjectGroup group)
1743 { 1743 {
1744 SceneObjectPart rootPart = group.GetChildPart(group.UUID); 1744 //SceneObjectPart rootPart = group.GetChildPart(group.UUID);
1745 1745
1746 foreach (SceneObjectPart part in group.Children.Values) 1746 foreach (SceneObjectPart part in group.Children.Values)
1747 { 1747 {
diff --git a/OpenSim/Region/Physics/Meshing/Mesh.cs b/OpenSim/Region/Physics/Meshing/Mesh.cs
index 16ac453..2084e75 100644
--- a/OpenSim/Region/Physics/Meshing/Mesh.cs
+++ b/OpenSim/Region/Physics/Meshing/Mesh.cs
@@ -214,9 +214,9 @@ namespace OpenSim.Region.Physics.Meshing
214 for (int i = 0; i < numFaces; i++) 214 for (int i = 0; i < numFaces; i++)
215 { 215 {
216 Face f = primMesh.faces[i]; 216 Face f = primMesh.faces[i];
217 Coord c1 = primMesh.coords[f.v1]; 217// Coord c1 = primMesh.coords[f.v1];
218 Coord c2 = primMesh.coords[f.v2]; 218// Coord c2 = primMesh.coords[f.v2];
219 Coord c3 = primMesh.coords[f.v3]; 219// Coord c3 = primMesh.coords[f.v3];
220 220
221 int resultIndex = i * 3; 221 int resultIndex = i * 3;
222 result[resultIndex] = f.v1; 222 result[resultIndex] = f.v1;