diff options
author | UbitUmarov | 2015-08-25 16:51:48 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-25 16:51:48 +0100 |
commit | 244f0c6352a920b8bba5e13fadda49cb5b368e06 (patch) | |
tree | 92d97bde9369dd1e7541f9b6e44d770b429fe503 /OpenSim/Region/Framework/Scenes | |
parent | terrain stored as ushorts with gzip compression (diff) | |
download | opensim-SC_OLD-244f0c6352a920b8bba5e13fadda49cb5b368e06.zip opensim-SC_OLD-244f0c6352a920b8bba5e13fadda49cb5b368e06.tar.gz opensim-SC_OLD-244f0c6352a920b8bba5e13fadda49cb5b368e06.tar.bz2 opensim-SC_OLD-244f0c6352a920b8bba5e13fadda49cb5b368e06.tar.xz |
change terrain internal representation to float. ushort work with legal
sl terrain, but may break existent terrain and that may cost a lot more
than the cost of memory
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/TerrainChannel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainChannel.cs b/OpenSim/Region/Framework/Scenes/TerrainChannel.cs index 75c3a3b..6abdc29 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainChannel.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainChannel.cs | |||
@@ -367,8 +367,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
367 | public int SizeY; | 367 | public int SizeY; |
368 | public int SizeZ; | 368 | public int SizeZ; |
369 | public float CompressionFactor; | 369 | public float CompressionFactor; |
370 | public ushort[] Map; | 370 | public float[] Map; |
371 | public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, ushort[] pMap) | 371 | public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, float[] pMap) |
372 | { | 372 | { |
373 | Version = 1; | 373 | Version = 1; |
374 | SizeX = pX; | 374 | SizeX = pX; |