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/ClientStack/ClientView.ProcessPackets.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 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 1383ad9..da4f830 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -298,12 +298,13 @@ namespace OpenSim.Region.ClientStack | |||
298 | break; | 298 | break; |
299 | case PacketType.ObjectDuplicate: | 299 | case PacketType.ObjectDuplicate: |
300 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket) Pack; | 300 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket) Pack; |
301 | ObjectDuplicatePacket.AgentDataBlock AgentandGroupData = dupe.AgentData; | ||
301 | for (int i = 0; i < dupe.ObjectData.Length; i++) | 302 | for (int i = 0; i < dupe.ObjectData.Length; i++) |
302 | { | 303 | { |
303 | if (OnObjectDuplicate != null) | 304 | if (OnObjectDuplicate != null) |
304 | { | 305 | { |
305 | OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset, | 306 | OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset, |
306 | dupe.SharedData.DuplicateFlags); | 307 | dupe.SharedData.DuplicateFlags, AgentandGroupData.AgentID, AgentandGroupData.GroupID); |
307 | } | 308 | } |
308 | } | 309 | } |
309 | 310 | ||