aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2015-11-10 23:56:08 +0000
committerUbitUmarov2015-11-10 23:56:08 +0000
commit2b937fdf4064d17bb6d0656269a7b447d01f03fa (patch)
tree25b4c943837e03d06213870b651830973c1d8673
parent increase the number of packets in Land queue that force terrain to delay pat... (diff)
downloadopensim-SC-2b937fdf4064d17bb6d0656269a7b447d01f03fa.zip
opensim-SC-2b937fdf4064d17bb6d0656269a7b447d01f03fa.tar.gz
opensim-SC-2b937fdf4064d17bb6d0656269a7b447d01f03fa.tar.bz2
opensim-SC-2b937fdf4064d17bb6d0656269a7b447d01f03fa.tar.xz
reduce the small MTU violation sending terrain compressed patchs
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainCompressor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
index e744202..fd65735 100644
--- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
+++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
@@ -191,7 +191,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
191 for (int i = 0; i < x.Length; i++) 191 for (int i = 0; i < x.Length; i++)
192 { 192 {
193 CreatePatchFromTerrainData(bitpack, terrData, x[i], y[i]); 193 CreatePatchFromTerrainData(bitpack, terrData, x[i], y[i]);
194 if (bitpack.BytePos > 1000 && i != x.Length - 1) 194 if (bitpack.BytePos > 980 && i != x.Length - 1)
195 { 195 {
196 //finish this packet 196 //finish this packet
197 bitpack.PackBits(END_OF_PATCHES, 8); 197 bitpack.PackBits(END_OF_PATCHES, 8);