diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 7 |
1 files changed, 4 insertions, 3 deletions
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 | |||
1096 | SceneObjectGroup group = GetGroupByPrim(localID); | 1096 | SceneObjectGroup group = GetGroupByPrim(localID); |
1097 | if (group != null) | 1097 | if (group != null) |
1098 | { | 1098 | { |
1099 | LLVector3 oldPos = group.AbsolutePosition; | 1099 | // LLVector3 oldPos = group.AbsolutePosition; |
1100 | if (!m_parentScene.ExternalChecks.ExternalChecksCanObjectEntry(group.UUID,pos) && !group.RootPart.m_IsAttachment) | 1100 | if (!m_parentScene.ExternalChecks.ExternalChecksCanObjectEntry(group.UUID,pos) && !group.RootPart.m_IsAttachment) |
1101 | { | 1101 | { |
1102 | group.SendGroupTerseUpdate(); | 1102 | group.SendGroupTerseUpdate(); |
@@ -1122,7 +1122,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1122 | if (group != null) | 1122 | if (group != null) |
1123 | { | 1123 | { |
1124 | 1124 | ||
1125 | LLVector3 oldPos = group.AbsolutePosition; | 1125 | // LLVector3 oldPos = group.AbsolutePosition; |
1126 | if (group.RootPart.m_IsAttachment) | 1126 | if (group.RootPart.m_IsAttachment) |
1127 | { | 1127 | { |
1128 | group.UpdateGroupPosition(pos); | 1128 | group.UpdateGroupPosition(pos); |
@@ -1467,7 +1467,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1467 | { | 1467 | { |
1468 | //m_log.DebugFormat("[SCENE]: Duplication of object {0} at offset {1} requested by agent {2}", originalPrim, offset, AgentID); | 1468 | //m_log.DebugFormat("[SCENE]: Duplication of object {0} at offset {1} requested by agent {2}", originalPrim, offset, AgentID); |
1469 | 1469 | ||
1470 | SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); | 1470 | // SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); |
1471 | DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); | ||
1471 | } | 1472 | } |
1472 | /// <summary> | 1473 | /// <summary> |
1473 | /// Duplicate the given object. | 1474 | /// Duplicate the given object. |