diff options
author | Melanie | 2010-10-08 11:31:52 +0200 |
---|---|---|
committer | Melanie | 2010-10-08 11:31:52 +0200 |
commit | 52dd547863c0cdd22f53f0efcaef11ae096855a0 (patch) | |
tree | e1b545832530f02b3485a39826555e444423aad3 /OpenSim/Client/MXP | |
parent | Implement rezzing coalesced objects (diff) | |
download | opensim-SC-52dd547863c0cdd22f53f0efcaef11ae096855a0.zip opensim-SC-52dd547863c0cdd22f53f0efcaef11ae096855a0.tar.gz opensim-SC-52dd547863c0cdd22f53f0efcaef11ae096855a0.tar.bz2 opensim-SC-52dd547863c0cdd22f53f0efcaef11ae096855a0.tar.xz |
Make SendKillObject send multiple localIDs in one packet. This avoids the
halting visual behavior of large group deletes and eliminates the packet flood
Diffstat (limited to 'OpenSim/Client/MXP')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 87b99e0..df9d21b 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -897,7 +897,13 @@ namespace OpenSim.Client.MXP.ClientStack | |||
897 | // Need to translate to MXP somehow | 897 | // Need to translate to MXP somehow |
898 | } | 898 | } |
899 | 899 | ||
900 | public void SendKillObject(ulong regionHandle, uint localID) | 900 | public void SendKillObject(ulong regionHandle, List<uint> localIDs) |
901 | { | ||
902 | foreach (uint localID in localIDs) | ||
903 | SendKillObject(regionHandle, localID); | ||
904 | } | ||
905 | |||
906 | private void SendKillObject(ulong regionHandle, uint localID) | ||
901 | { | 907 | { |
902 | DisappearanceEventMessage de = new DisappearanceEventMessage(); | 908 | DisappearanceEventMessage de = new DisappearanceEventMessage(); |
903 | de.ObjectIndex = localID; | 909 | de.ObjectIndex = localID; |