mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user