reduce the small MTU violation sending terrain compressed patchs
parent
188b2d84c1
commit
2b937fdf40
|
@ -191,7 +191,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
for (int i = 0; i < x.Length; i++)
|
for (int i = 0; i < x.Length; i++)
|
||||||
{
|
{
|
||||||
CreatePatchFromTerrainData(bitpack, terrData, x[i], y[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
|
//finish this packet
|
||||||
bitpack.PackBits(END_OF_PATCHES, 8);
|
bitpack.PackBits(END_OF_PATCHES, 8);
|
||||||
|
|
Loading…
Reference in New Issue