From 97bc5263de990ce80fc0adfbdb632ba8c5cbb77b Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Wed, 16 Oct 2013 07:52:30 -0700 Subject: varregion: move the compressed heighmap compression factor from Constants into TerrainData. Save compression factor with the terrain blob in the database. --- OpenSim/Framework/Constants.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim/Framework/Constants.cs') diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 9ddb34b..d18b32e 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs @@ -36,8 +36,6 @@ namespace OpenSim.Framework public const uint RegionSize = 256; public const uint RegionHeight = 4096; - // Terrain heightmap is kept as shorts that are the float value times this compression factor - public const float TerrainCompression = 100.0f; // Since terrain is stored in 16x16 heights, regions must be a multiple of this number and that is the minimum public const int MinRegionSize = 16; public const int TerrainPatchSize = 16; -- cgit v1.1