aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorMW2009-07-12 12:32:39 +0000
committerMW2009-07-12 12:32:39 +0000
commitd9a8ecf238344374274b2d5dcc7c4efa3ecd0c11 (patch)
tree8a9a1122f2d0b788934b39871f145b7d8b7e2e01 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parent* Workaround for a bug in Vivox Server r2978, whereby channel-search.channels... (diff)
downloadopensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.zip
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.gz
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.bz2
opensim-SC_OLD-d9a8ecf238344374274b2d5dcc7c4efa3ecd0c11.tar.xz
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 74a8874..3fdb386 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -5065,16 +5065,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5065 handlerDeRezObject = OnDeRezObject; 5065 handlerDeRezObject = OnDeRezObject;
5066 if (handlerDeRezObject != null) 5066 if (handlerDeRezObject != null)
5067 { 5067 {
5068 List<uint> deRezIDs = new List<uint>();
5069
5068 foreach (DeRezObjectPacket.ObjectDataBlock data in 5070 foreach (DeRezObjectPacket.ObjectDataBlock data in
5069 DeRezPacket.ObjectData) 5071 DeRezPacket.ObjectData)
5070 { 5072 {
5073 deRezIDs.Add(data.ObjectLocalID);
5074 }
5071 // It just so happens that the values on the DeRezAction enumerator match the Destination 5075 // It just so happens that the values on the DeRezAction enumerator match the Destination
5072 // values given by a Second Life client 5076 // values given by a Second Life client
5073 handlerDeRezObject(this, data.ObjectLocalID, 5077 handlerDeRezObject(this, deRezIDs,
5074 DeRezPacket.AgentBlock.GroupID, 5078 DeRezPacket.AgentBlock.GroupID,
5075 (DeRezAction)DeRezPacket.AgentBlock.Destination, 5079 (DeRezAction)DeRezPacket.AgentBlock.Destination,
5076 DeRezPacket.AgentBlock.DestinationID); 5080 DeRezPacket.AgentBlock.DestinationID);
5077 } 5081
5078 } 5082 }
5079 break; 5083 break;
5080 5084