aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.API.cs1
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs12
2 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs
index cefe856..3c1df75 100644
--- a/OpenSim/Region/ClientStack/ClientView.API.cs
+++ b/OpenSim/Region/ClientStack/ClientView.API.cs
@@ -55,6 +55,7 @@ namespace OpenSim.Region.ClientStack
55 public event LinkObjects OnLinkObjects; 55 public event LinkObjects OnLinkObjects;
56 public event UpdateVector OnGrapObject; 56 public event UpdateVector OnGrapObject;
57 public event ObjectSelect OnDeGrapObject; 57 public event ObjectSelect OnDeGrapObject;
58 public event ObjectDuplicate OnObjectDuplicate;
58 public event MoveObject OnGrapUpdate; 59 public event MoveObject OnGrapUpdate;
59 public event GenericCall4 OnAddPrim; 60 public event GenericCall4 OnAddPrim;
60 public event UpdateShape OnUpdatePrimShape; 61 public event UpdateShape OnUpdatePrimShape;
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++)