diff options
author | Robert Adams | 2013-10-02 16:59:37 -0700 |
---|---|---|
committer | Robert Adams | 2013-10-07 13:57:40 -0700 |
commit | 7416809077227f35ab70ed44060e51f2bcf66937 (patch) | |
tree | 7578cbfed07777d5c60af986791dc7d8b09b2cd5 /OpenSim/Framework/Constants.cs | |
parent | varregion: remove scattered use of Constants.RegionSize by having routines re... (diff) | |
download | opensim-SC-7416809077227f35ab70ed44060e51f2bcf66937.zip opensim-SC-7416809077227f35ab70ed44060e51f2bcf66937.tar.gz opensim-SC-7416809077227f35ab70ed44060e51f2bcf66937.tar.bz2 opensim-SC-7416809077227f35ab70ed44060e51f2bcf66937.tar.xz |
varregion: plug in TerrainData class and modify TerrainModule and LLClientView to use same. This passes a terrain info class around rather than passing a one dimensional array thus allowing variable regions. Update the database storage for variable region sizes. This should be downward compatible (same format for 256x256 regions).
Diffstat (limited to 'OpenSim/Framework/Constants.cs')
-rw-r--r-- | OpenSim/Framework/Constants.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 7979132..9ddb34b 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Framework | |||
40 | public const float TerrainCompression = 100.0f; | 40 | public const float TerrainCompression = 100.0f; |
41 | // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum | 41 | // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum |
42 | public const int MinRegionSize = 16; | 42 | public const int MinRegionSize = 16; |
43 | public const byte TerrainPatchSize = 16; | 43 | public const int TerrainPatchSize = 16; |
44 | 44 | ||
45 | public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; | 45 | public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f"; |
46 | 46 | ||