diff options
author | Teravus Ovares | 2007-11-14 11:56:57 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-14 11:56:57 +0000 |
commit | 3cb2b5eb6686d4e183eed5152570b7e052381f8d (patch) | |
tree | e98100bce6ff171318c18d38f51ae9670c38135b /OpenSim/Region/Environment/Scenes/InnerScene.cs | |
parent | * moved outer tool dir into inner tool dir (diff) | |
download | opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.zip opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.gz opensim-SC-3cb2b5eb6686d4e183eed5152570b7e052381f8d.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 4 |
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 | ||