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/Region/OptionalModules/World/TreePopulator | |
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/Region/OptionalModules/World/TreePopulator')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs b/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs index 421da36..2563361 100644 --- a/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs +++ b/OpenSim/Region/OptionalModules/World/TreePopulator/TreePopulatorModule.cs | |||
@@ -386,7 +386,7 @@ namespace OpenSim.Region.OptionalModules.World.TreePopulator | |||
386 | m_scene.ForEachClient(delegate(IClientAPI controller) | 386 | m_scene.ForEachClient(delegate(IClientAPI controller) |
387 | { | 387 | { |
388 | controller.SendKillObject(m_scene.RegionInfo.RegionHandle, | 388 | controller.SendKillObject(m_scene.RegionInfo.RegionHandle, |
389 | selectedTree.LocalId); | 389 | new List<uint>() { selectedTree.LocalId }); |
390 | }); | 390 | }); |
391 | } | 391 | } |
392 | else | 392 | else |
@@ -727,7 +727,7 @@ namespace OpenSim.Region.OptionalModules.World.TreePopulator | |||
727 | m_scene.ForEachClient(delegate(IClientAPI controller) | 727 | m_scene.ForEachClient(delegate(IClientAPI controller) |
728 | { | 728 | { |
729 | controller.SendKillObject(m_scene.RegionInfo.RegionHandle, | 729 | controller.SendKillObject(m_scene.RegionInfo.RegionHandle, |
730 | selectedTree.LocalId); | 730 | new List<uint>() { selectedTree.LocalId }); |
731 | }); | 731 | }); |
732 | 732 | ||
733 | break; | 733 | break; |