diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs index d77e1d7..26b0719 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs | |||
@@ -293,7 +293,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
293 | // flat terrain spead up things | 293 | // flat terrain spead up things |
294 | 294 | ||
295 | // prequant and quant 2 bits both | 295 | // prequant and quant 2 bits both |
296 | header.QuantWBits = 0x00; | 296 | header.QuantWBits = 0x04; |
297 | output.PackBits(header.QuantWBits, 8); | 297 | output.PackBits(header.QuantWBits, 8); |
298 | output.PackFloat(header.DCOffset); | 298 | output.PackFloat(header.DCOffset); |
299 | output.PackBits(1, 16); | 299 | output.PackBits(1, 16); |
@@ -301,9 +301,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
301 | output.PackBits(header.PatchIDs, 32); | 301 | output.PackBits(header.PatchIDs, 32); |
302 | else | 302 | else |
303 | output.PackBits(header.PatchIDs, 10); | 303 | output.PackBits(header.PatchIDs, 10); |
304 | // dc term is - max quant value | 304 | |
305 | output.PackBits(NEGATIVE_VALUE, 3); | 305 | output.PackBits(NEGATIVE_VALUE, 3); |
306 | output.PackBits(3, 2); | 306 | output.PackBits(0x20, 6); |
307 | // and thats all | 307 | // and thats all |
308 | output.PackBits(ZERO_EOB, 2); | 308 | output.PackBits(ZERO_EOB, 2); |
309 | return; | 309 | return; |