diff options
author | UbitUmarov | 2015-08-24 18:40:28 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-24 18:40:28 +0100 |
commit | 1c752296bfc25ca709117ad1c557aff2b6097ffb (patch) | |
tree | 495650a06cc09b59dc31b2b20d8d2e79ddb1c72f /OpenSim/Region/Framework | |
parent | try to implement core load oar options (diff) | |
download | opensim-SC_OLD-1c752296bfc25ca709117ad1c557aff2b6097ffb.zip opensim-SC_OLD-1c752296bfc25ca709117ad1c557aff2b6097ffb.tar.gz opensim-SC_OLD-1c752296bfc25ca709117ad1c557aff2b6097ffb.tar.bz2 opensim-SC_OLD-1c752296bfc25ca709117ad1c557aff2b6097ffb.tar.xz |
change internal representation of terrain from int to ushort. This will
suporte height from 0 to 655.53m that includes SL limits ( still need to
add code to trap eventual negative values from dbs or user input)
Diffstat (limited to 'OpenSim/Region/Framework')
-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 684029d..2dab246 100644 --- a/OpenSim/Region/Framework/Scenes/TerrainChannel.cs +++ b/OpenSim/Region/Framework/Scenes/TerrainChannel.cs | |||
@@ -363,8 +363,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
363 | public int SizeY; | 363 | public int SizeY; |
364 | public int SizeZ; | 364 | public int SizeZ; |
365 | public float CompressionFactor; | 365 | public float CompressionFactor; |
366 | public int[] Map; | 366 | public ushort[] Map; |
367 | public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, int[] pMap) | 367 | public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, ushort[] pMap) |
368 | { | 368 | { |
369 | Version = 1; | 369 | Version = 1; |
370 | SizeX = pX; | 370 | SizeX = pX; |