aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
diff options
context:
space:
mode:
authorRobert Adams2014-02-08 08:35:06 -0800
committerRobert Adams2014-02-11 21:07:55 -0800
commitc0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5 (patch)
tree07de1c44a14ec65abdc582686097432efca8fa2f /OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
parentAdd JsonRezAtRoot script function. Operation is very similar to (diff)
downloadopensim-SC-c0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5.zip
opensim-SC-c0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5.tar.gz
opensim-SC-c0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5.tar.bz2
opensim-SC-c0cc5e0fa4b8d469fdbb1c33a4b9e35ec768dee5.tar.xz
varregion: Send large region patches for wind and clouds.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/TerrainCompressor.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainCompressor.cs4
1 files changed, 1 insertions, 3 deletions
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
119 byte landPacketType = (byte)TerrainPatch.LayerType.Land; 119 byte landPacketType = (byte)TerrainPatch.LayerType.Land;
120 if (terrData.SizeX > Constants.RegionSize || terrData.SizeY > Constants.RegionSize) 120 if (terrData.SizeX > Constants.RegionSize || terrData.SizeY > Constants.RegionSize)
121 { 121 {
122 // libOMV does not have a packet type defined for the extended parcel format. 122 landPacketType = (byte)TerrainPatch.LayerType.LandExtended;
123 // We just happen to know the extended parcel format code is one more than the usual code.
124 landPacketType++;
125 } 123 }
126 124
127 return CreateLandPacket(terrData, xPieces, yPieces, landPacketType); 125 return CreateLandPacket(terrData, xPieces, yPieces, landPacketType);