aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
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/ClientStack
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 '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs3
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