aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 52bea40..70b8829 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -520,13 +520,15 @@ namespace OpenSim.Region.Environment.Scenes
520 /// 520 ///
521 /// </summary> 521 /// </summary>
522 /// <returns></returns> 522 /// <returns></returns>
523 public SceneObjectPart Copy(uint localID) 523 public SceneObjectPart Copy(uint localID, LLUUID AgentID, LLUUID GroupID)
524 { 524 {
525 SceneObjectPart dupe = (SceneObjectPart) MemberwiseClone(); 525 SceneObjectPart dupe = (SceneObjectPart) MemberwiseClone();
526 dupe.m_shape = m_shape.Copy(); 526 dupe.m_shape = m_shape.Copy();
527 dupe.m_regionHandle = m_regionHandle; 527 dupe.m_regionHandle = m_regionHandle;
528 dupe.UUID = LLUUID.Random(); 528 dupe.UUID = LLUUID.Random();
529 dupe.LocalID = localID; 529 dupe.LocalID = localID;
530 dupe.OwnerID = AgentID;
531 dupe.GroupID = GroupID;
530 dupe.GroupPosition = new LLVector3(GroupPosition.X, GroupPosition.Y, GroupPosition.Z); 532 dupe.GroupPosition = new LLVector3(GroupPosition.X, GroupPosition.Y, GroupPosition.Z);
531 dupe.OffsetPosition = new LLVector3(OffsetPosition.X, OffsetPosition.Y, OffsetPosition.Z); 533 dupe.OffsetPosition = new LLVector3(OffsetPosition.X, OffsetPosition.Y, OffsetPosition.Z);
532 dupe.RotationOffset = 534 dupe.RotationOffset =