aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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;