From 3d26e6ede04389252332d9ba25016155ee607411 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 27 Jun 2008 19:57:06 +0000 Subject: move along, nothing to see here. just a couple of lazy variables. --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs') diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index ab0ed6b..fd8e2f8 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -1096,7 +1096,7 @@ namespace OpenSim.Region.Environment.Scenes SceneObjectGroup group = GetGroupByPrim(localID); if (group != null) { - LLVector3 oldPos = group.AbsolutePosition; + // LLVector3 oldPos = group.AbsolutePosition; if (!m_parentScene.ExternalChecks.ExternalChecksCanObjectEntry(group.UUID,pos) && !group.RootPart.m_IsAttachment) { group.SendGroupTerseUpdate(); @@ -1122,7 +1122,7 @@ namespace OpenSim.Region.Environment.Scenes if (group != null) { - LLVector3 oldPos = group.AbsolutePosition; + // LLVector3 oldPos = group.AbsolutePosition; if (group.RootPart.m_IsAttachment) { group.UpdateGroupPosition(pos); @@ -1467,7 +1467,8 @@ namespace OpenSim.Region.Environment.Scenes { //m_log.DebugFormat("[SCENE]: Duplication of object {0} at offset {1} requested by agent {2}", originalPrim, offset, AgentID); - SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); + // SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); + DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); } /// /// Duplicate the given object. -- cgit v1.1