reduce the small MTU violation sending terrain compressed patchs

avinationmerge
UbitUmarov 2015-11-10 23:56:08 +00:00
parent 188b2d84c1
commit 2b937fdf40
1 changed files with 1 additions and 1 deletions

View File

@ -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);