Make SendKillObject send multiple localIDs in one packet. This avoids the

halting visual behavior of large group deletes and eliminates the packet flood
This commit is contained in:
Melanie
2010-10-08 11:31:52 +02:00
parent ba0afa53d3
commit 52dd547863
19 changed files with 79 additions and 53 deletions

View File

@@ -897,7 +897,13 @@ namespace OpenSim.Client.MXP.ClientStack
// Need to translate to MXP somehow
}
public void SendKillObject(ulong regionHandle, uint localID)
public void SendKillObject(ulong regionHandle, List<uint> localIDs)
{
foreach (uint localID in localIDs)
SendKillObject(regionHandle, localID);
}
private void SendKillObject(ulong regionHandle, uint localID)
{
DisappearanceEventMessage de = new DisappearanceEventMessage();
de.ObjectIndex = localID;