aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index a8762e4..10d052e 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -158,6 +158,7 @@ namespace OpenSim.Region.ClientStack
158 private UpdateShape handlerUpdatePrimShape = null; //null; 158 private UpdateShape handlerUpdatePrimShape = null; //null;
159 private ObjectExtraParams handlerUpdateExtraParams = null; //OnUpdateExtraParams; 159 private ObjectExtraParams handlerUpdateExtraParams = null; //OnUpdateExtraParams;
160 private ObjectDuplicate handlerObjectDuplicate = null; 160 private ObjectDuplicate handlerObjectDuplicate = null;
161 private ObjectDuplicateOnRay handlerObjectDuplicateOnRay = null;
161 private ObjectSelect handlerObjectSelect = null; 162 private ObjectSelect handlerObjectSelect = null;
162 private ObjectDeselect handlerObjectDeselect = null; 163 private ObjectDeselect handlerObjectDeselect = null;
163 private UpdatePrimFlags handlerUpdatePrimFlags = null; //OnUpdatePrimFlags; 164 private UpdatePrimFlags handlerUpdatePrimFlags = null; //OnUpdatePrimFlags;
@@ -675,6 +676,7 @@ namespace OpenSim.Region.ClientStack
675 public event UpdateVector OnGrabObject; 676 public event UpdateVector OnGrabObject;
676 public event ObjectSelect OnDeGrabObject; 677 public event ObjectSelect OnDeGrabObject;
677 public event ObjectDuplicate OnObjectDuplicate; 678 public event ObjectDuplicate OnObjectDuplicate;
679 public event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
678 public event MoveObject OnGrabUpdate; 680 public event MoveObject OnGrabUpdate;
679 public event AddNewPrim OnAddPrim; 681 public event AddNewPrim OnAddPrim;
680 public event RequestGodlikePowers OnRequestGodlikePowers; 682 public event RequestGodlikePowers OnRequestGodlikePowers;
@@ -3590,7 +3592,26 @@ namespace OpenSim.Region.ClientStack
3590 // That means multiple object perms may be updated in a single packet. 3592 // That means multiple object perms may be updated in a single packet.
3591 3593
3592 break; 3594 break;
3595 case PacketType.ObjectDuplicateOnRay:
3596 ObjectDuplicateOnRayPacket dupeOnRay = (ObjectDuplicateOnRayPacket)Pack;
3593 3597
3598 handlerObjectDuplicateOnRay = null;
3599
3600
3601 for (int i = 0; i < dupeOnRay.ObjectData.Length; i++)
3602 {
3603 handlerObjectDuplicateOnRay = OnObjectDuplicateOnRay;
3604 if (handlerObjectDuplicateOnRay != null)
3605 {
3606 handlerObjectDuplicateOnRay(dupeOnRay.ObjectData[i].ObjectLocalID, dupeOnRay.AgentData.DuplicateFlags,
3607 dupeOnRay.AgentData.AgentID, dupeOnRay.AgentData.GroupID, dupeOnRay.AgentData.RayTargetID, dupeOnRay.AgentData.RayEnd,
3608 dupeOnRay.AgentData.RayStart, dupeOnRay.AgentData.BypassRaycast, dupeOnRay.AgentData.RayEndIsIntersection,
3609 dupeOnRay.AgentData.CopyCenters, dupeOnRay.AgentData.CopyRotates);
3610 }
3611 }
3612
3613 break;
3614 break;
3594 case PacketType.RequestObjectPropertiesFamily: 3615 case PacketType.RequestObjectPropertiesFamily:
3595 //This powers the little tooltip that appears when you move your mouse over an object 3616 //This powers the little tooltip that appears when you move your mouse over an object
3596 RequestObjectPropertiesFamilyPacket packToolTip = (RequestObjectPropertiesFamilyPacket)Pack; 3617 RequestObjectPropertiesFamilyPacket packToolTip = (RequestObjectPropertiesFamilyPacket)Pack;