diff options
author | Adam Frisby | 2007-07-09 15:29:39 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-09 15:29:39 +0000 |
commit | e8acf1cca92592fea38208dbfe4137555431434d (patch) | |
tree | 4d8b6353f1baab805b17caec835d93ee0ef6817e /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | * reverted rev 1200 waiting for info re animations.xml (diff) | |
download | opensim-SC_OLD-e8acf1cca92592fea38208dbfe4137555431434d.zip opensim-SC_OLD-e8acf1cca92592fea38208dbfe4137555431434d.tar.gz opensim-SC_OLD-e8acf1cca92592fea38208dbfe4137555431434d.tar.bz2 opensim-SC_OLD-e8acf1cca92592fea38208dbfe4137555431434d.tar.xz |
* Begun work on Primitive Duplication. Not hooked up yet, but theoretically could be done so. In practice, more work needs to be done.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index def14c7..982ae50 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -233,6 +233,18 @@ namespace OpenSim.Region.ClientStack | |||
233 | } | 233 | } |
234 | } | 234 | } |
235 | break; | 235 | break; |
236 | case PacketType.ObjectDuplicate: | ||
237 | ObjectDuplicatePacket dupe = (ObjectDuplicatePacket)Pack; | ||
238 | for (int i = 0; i < dupe.ObjectData.Length; i++) | ||
239 | { | ||
240 | if (OnObjectDuplicate != null) | ||
241 | { | ||
242 | OnObjectDuplicate(dupe.ObjectData[i].ObjectLocalID, dupe.SharedData.Offset, dupe.SharedData.DuplicateFlags); | ||
243 | } | ||
244 | } | ||
245 | |||
246 | break; | ||
247 | |||
236 | case PacketType.ObjectSelect: | 248 | case PacketType.ObjectSelect: |
237 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; | 249 | ObjectSelectPacket incomingselect = (ObjectSelectPacket)Pack; |
238 | for (int i = 0; i < incomingselect.ObjectData.Length; i++) | 250 | for (int i = 0; i < incomingselect.ObjectData.Length; i++) |