diff options
author | Melanie | 2012-07-08 07:42:40 +0200 |
---|---|---|
committer | Melanie | 2012-07-08 07:42:40 +0200 |
commit | 73c5a6e66637b9f5f0d7dc3f4bf4c9818223b3e9 (patch) | |
tree | c433295ee07401aadde0e20a5829fc5cb18f7952 | |
parent | Address map lag issue seen with non-avination viewers (diff) | |
download | opensim-SC_OLD-73c5a6e66637b9f5f0d7dc3f4bf4c9818223b3e9.zip opensim-SC_OLD-73c5a6e66637b9f5f0d7dc3f4bf4c9818223b3e9.tar.gz opensim-SC_OLD-73c5a6e66637b9f5f0d7dc3f4bf4c9818223b3e9.tar.bz2 opensim-SC_OLD-73c5a6e66637b9f5f0d7dc3f4bf4c9818223b3e9.tar.xz |
Instead of sending 20 records in 2 packets, send just one as we intended in the first place.
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs index 721ac5c..88aacb9 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | |||
@@ -999,7 +999,7 @@ return; | |||
999 | MapBlockData block = new MapBlockData(); | 999 | MapBlockData block = new MapBlockData(); |
1000 | MapBlockFromGridRegion(block, r, flag); | 1000 | MapBlockFromGridRegion(block, r, flag); |
1001 | mapBlocks.Add(block); | 1001 | mapBlocks.Add(block); |
1002 | if (mapBlocks.Count >= 20) | 1002 | if (mapBlocks.Count >= 10) |
1003 | { | 1003 | { |
1004 | remoteClient.SendMapBlock(mapBlocks, flag & 0xffff); | 1004 | remoteClient.SendMapBlock(mapBlocks, flag & 0xffff); |
1005 | mapBlocks.Clear(); | 1005 | mapBlocks.Clear(); |