diff options
author | Robert Adams | 2013-10-31 09:24:06 -0700 |
---|---|---|
committer | Robert Adams | 2013-10-31 09:24:06 -0700 |
commit | 39777db8ef0604ad228854ce226bb530c2d27239 (patch) | |
tree | e351cd0c09bb9af6c10776a494f53563b0ec480c /OpenSim/Framework/TerrainData.cs | |
parent | Merge branch 'master' into varregion (diff) | |
download | opensim-SC_OLD-39777db8ef0604ad228854ce226bb530c2d27239.zip opensim-SC_OLD-39777db8ef0604ad228854ce226bb530c2d27239.tar.gz opensim-SC_OLD-39777db8ef0604ad228854ce226bb530c2d27239.tar.bz2 opensim-SC_OLD-39777db8ef0604ad228854ce226bb530c2d27239.tar.xz |
varregion: fix problem of X/Y dimensions swapped and incorrect terrain
compression base computation.
Complete replacement of float[] for terrain heightmap with TerrainData instance.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/TerrainData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/TerrainData.cs b/OpenSim/Framework/TerrainData.cs index 103359b..d7f1655 100644 --- a/OpenSim/Framework/TerrainData.cs +++ b/OpenSim/Framework/TerrainData.cs | |||
@@ -103,7 +103,7 @@ namespace OpenSim.Framework | |||
103 | { | 103 | { |
104 | m_heightmap[x, y] = newVal; | 104 | m_heightmap[x, y] = newVal; |
105 | m_taint[x / Constants.TerrainPatchSize, y / Constants.TerrainPatchSize] = true; | 105 | m_taint[x / Constants.TerrainPatchSize, y / Constants.TerrainPatchSize] = true; |
106 | m_log.DebugFormat("{0} set[{1},{2}] to {3} ({4})", LogHeader, x, y, value, newVal); | 106 | // m_log.DebugFormat("{0} set[{1},{2}] to {3} ({4})", LogHeader, x, y, value, newVal); |
107 | } | 107 | } |
108 | } | 108 | } |
109 | } | 109 | } |