aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-14 11:56:57 +0000
committerTeravus Ovares2007-11-14 11:56:57 +0000
commit3cb2b5eb6686d4e183eed5152570b7e052381f8d (patch)
treee98100bce6ff171318c18d38f51ae9670c38135b /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* moved outer tool dir into inner tool dir (diff)
downloadopensim-SC_OLD-3cb2b5eb6686d4e183eed5152570b7e052381f8d.zip
opensim-SC_OLD-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.gz
opensim-SC_OLD-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.bz2
opensim-SC_OLD-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.xz
* Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-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 =