aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client
diff options
context:
space:
mode:
authorMelanie2010-10-08 11:31:52 +0200
committerMelanie2010-10-08 11:31:52 +0200
commit52dd547863c0cdd22f53f0efcaef11ae096855a0 (patch)
treee1b545832530f02b3485a39826555e444423aad3 /OpenSim/Client
parentImplement rezzing coalesced objects (diff)
downloadopensim-SC_OLD-52dd547863c0cdd22f53f0efcaef11ae096855a0.zip
opensim-SC_OLD-52dd547863c0cdd22f53f0efcaef11ae096855a0.tar.gz
opensim-SC_OLD-52dd547863c0cdd22f53f0efcaef11ae096855a0.tar.bz2
opensim-SC_OLD-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')
-rw-r--r--OpenSim/Client/MXP/ClientStack/MXPClientView.cs8
-rw-r--r--OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs2
2 files changed, 8 insertions, 2 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;
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
index 51c5c17..26be5d9 100644
--- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
+++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs
@@ -495,7 +495,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
495 throw new System.NotImplementedException(); 495 throw new System.NotImplementedException();
496 } 496 }
497 497
498 public void SendKillObject(ulong regionHandle, uint localID) 498 public void SendKillObject(ulong regionHandle, List<uint> localID)
499 { 499 {
500 throw new System.NotImplementedException(); 500 throw new System.NotImplementedException();
501 } 501 }