From c0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Sat, 8 Feb 2014 08:35:06 -0800 Subject: varregion: Send large region patches for wind and clouds. --- OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs index ced62e2..bdb748a 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs @@ -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); -- cgit v1.1