aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index c8e9b73..c436b89 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -593,7 +593,7 @@ namespace OpenSim.Region.Environment.Scenes
593 /// <param name="originalPrim"></param> 593 /// <param name="originalPrim"></param>
594 /// <param name="offset"></param> 594 /// <param name="offset"></param>
595 /// <param name="flags"></param> 595 /// <param name="flags"></param>
596 public void DuplicateObject(uint originalPrim, LLVector3 offset, uint flags) 596 public void DuplicateObject(uint originalPrim, LLVector3 offset, uint flags, LLUUID AgentID, LLUUID GroupID)
597 { 597 {
598 SceneObjectGroup originPrim = null; 598 SceneObjectGroup originPrim = null;
599 foreach (EntityBase ent in Entities.Values) 599 foreach (EntityBase ent in Entities.Values)
@@ -610,7 +610,7 @@ namespace OpenSim.Region.Environment.Scenes
610 610
611 if (originPrim != null) 611 if (originPrim != null)
612 { 612 {
613 SceneObjectGroup copy = originPrim.Copy(); 613 SceneObjectGroup copy = originPrim.Copy(AgentID, GroupID);
614 copy.AbsolutePosition = copy.AbsolutePosition + offset; 614 copy.AbsolutePosition = copy.AbsolutePosition + offset;
615 Entities.Add(copy.UUID, copy); 615 Entities.Add(copy.UUID, copy);
616 616