From 9d1b42c39a779c84dd091a817d2f6e5f434777c4 Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Tue, 25 Mar 2008 03:49:08 +0000
Subject: Comment out unused private methods.
---
.../Region/Terrain.BasicTerrain/TerrainEngine.cs | 48 ++++++++++------------
1 file changed, 22 insertions(+), 26 deletions(-)
(limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index 308f35b..4ab535b 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -310,37 +310,33 @@ namespace OpenSim.Region.Terrain
}
}
-
lastEdit = DateTime.Now;
return;
}
-
-
-
- ///
- /// Checks to make sure the terrain is within baked values +/- maxRaise/minLower
- ///
- private void SetTerrainWithinBounds()
- {
- int x, y;
- for (x = 0; x < w; x++)
- {
- for (y = 0; y < h; y++)
- {
- if ((heightmap.Get(x, y) > revertmap.Get(x, y) + maxRaise))
- {
- heightmap.map[x, y] = revertmap.Get(x, y) + maxRaise;
- }
- if ((heightmap.Get(x, y) > revertmap.Get(x, y) - minLower))
- {
- heightmap.map[x, y] = revertmap.Get(x, y) - minLower;
- }
- }
- }
- }
-
+// TODO: unused
+// ///
+// /// Checks to make sure the terrain is within baked values +/- maxRaise/minLower
+// ///
+// private void SetTerrainWithinBounds()
+// {
+// int x, y;
+// for (x = 0; x < w; x++)
+// {
+// for (y = 0; y < h; y++)
+// {
+// if ((heightmap.Get(x, y) > revertmap.Get(x, y) + maxRaise))
+// {
+// heightmap.map[x, y] = revertmap.Get(x, y) + maxRaise;
+// }
+// if ((heightmap.Get(x, y) > revertmap.Get(x, y) - minLower))
+// {
+// heightmap.map[x, y] = revertmap.Get(x, y) - minLower;
+// }
+// }
+// }
+// }
///
/// Converts the heightmap to a 65536 value 1D floating point array
--
cgit v1.1