From 2b937fdf4064d17bb6d0656269a7b447d01f03fa Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 10 Nov 2015 23:56:08 +0000 Subject: [PATCH] reduce the small MTU violation sending terrain compressed patchs --- OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs index e744202a31..fd65735193 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs @@ -191,7 +191,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP for (int i = 0; i < x.Length; i++) { CreatePatchFromTerrainData(bitpack, terrData, x[i], y[i]); - if (bitpack.BytePos > 1000 && i != x.Length - 1) + if (bitpack.BytePos > 980 && i != x.Length - 1) { //finish this packet bitpack.PackBits(END_OF_PATCHES, 8);