From 49ec6dd8826aa4e5a022808572abb327e279a06e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 30 Aug 2008 18:09:38 +0000 Subject: * 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) --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 +- OpenSim/Region/Physics/Meshing/Mesh.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim') 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 /// public void DeleteSceneObject(SceneObjectGroup group) { - SceneObjectPart rootPart = group.GetChildPart(group.UUID); + //SceneObjectPart rootPart = group.GetChildPart(group.UUID); foreach (SceneObjectPart part in group.Children.Values) { 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 for (int i = 0; i < numFaces; i++) { Face f = primMesh.faces[i]; - Coord c1 = primMesh.coords[f.v1]; - Coord c2 = primMesh.coords[f.v2]; - Coord c3 = primMesh.coords[f.v3]; +// Coord c1 = primMesh.coords[f.v1]; +// Coord c2 = primMesh.coords[f.v2]; +// Coord c3 = primMesh.coords[f.v3]; int resultIndex = i * 3; result[resultIndex] = f.v1; -- cgit v1.1