aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index e8d12ff..c623e55 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -375,8 +375,9 @@ namespace OpenSim.Region.Environment.Scenes
375 375
376 foreach (SceneObjectPart part in m_parts.Values) 376 foreach (SceneObjectPart part in m_parts.Values)
377 { 377 {
378 Vector3 partPosition = 378 // Temporary commented to stop compiler warning
379 new Vector3(part.AbsolutePosition.X, part.AbsolutePosition.Y, part.AbsolutePosition.Z); 379 //Vector3 partPosition =
380 // new Vector3(part.AbsolutePosition.X, part.AbsolutePosition.Y, part.AbsolutePosition.Z);
380 Quaternion parentrotation = 381 Quaternion parentrotation =
381 new Quaternion(GroupRotation.W, GroupRotation.X, GroupRotation.Y, GroupRotation.Z); 382 new Quaternion(GroupRotation.W, GroupRotation.X, GroupRotation.Y, GroupRotation.Z);
382 383
@@ -827,10 +828,8 @@ namespace OpenSim.Region.Environment.Scenes
827 /// <returns></returns> 828 /// <returns></returns>
828 public bool HasChildPrim(LLUUID primID) 829 public bool HasChildPrim(LLUUID primID)
829 { 830 {
830 SceneObjectPart childPart = null;
831 if (m_parts.ContainsKey(primID)) 831 if (m_parts.ContainsKey(primID))
832 { 832 {
833 childPart = m_parts[primID];
834 return true; 833 return true;
835 } 834 }
836 return false; 835 return false;