varregion: Send large region patches for wind and clouds.

This commit is contained in:
Robert Adams
2014-02-08 08:35:06 -08:00
parent b83a224147
commit c0cc5e0fa4
2 changed files with 13 additions and 5 deletions

View File

@@ -119,9 +119,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
byte landPacketType = (byte)TerrainPatch.LayerType.Land;
if (terrData.SizeX > Constants.RegionSize || terrData.SizeY > Constants.RegionSize)
{
// libOMV does not have a packet type defined for the extended parcel format.
// We just happen to know the extended parcel format code is one more than the usual code.
landPacketType++;
landPacketType = (byte)TerrainPatch.LayerType.LandExtended;
}
return CreateLandPacket(terrData, xPieces, yPieces, landPacketType);