aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-03-05 00:52:35 +0000
committerAdam Frisby2008-03-05 00:52:35 +0000
commitf64611862a46c91f416134146cb53fa720a96ec5 (patch)
tree5032b3c6e85254ec62540f76f7921e47b1f7fb62 /OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
parentonce more on hgignore, now that I think I understand this (diff)
downloadopensim-SC-f64611862a46c91f416134146cb53fa720a96ec5.zip
opensim-SC-f64611862a46c91f416134146cb53fa720a96ec5.tar.gz
opensim-SC-f64611862a46c91f416134146cb53fa720a96ec5.tar.bz2
opensim-SC-f64611862a46c91f416134146cb53fa720a96ec5.tar.xz
* New Terrain Module (disabled, search for 'usingTerrainModule = false' to reenable)
* *Much* faster terraforming (woot!) * New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example) * New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times. * New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in. * Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index b34ca5e..c6feb03 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -297,9 +297,14 @@ namespace OpenSim.Region.Terrain
297 { 297 {
298 for (int y = 0; y < 16; y++) 298 for (int y = 0; y < 16; y++)
299 { 299 {
300 if (IsTainted(x*16, y*16)) 300 if (IsTainted(x * 16, y * 16))
301 { 301 {
302 remoteUser.SendLayerData(x, y, GetHeights1D()); 302 bool usingTerrainModule = false;
303
304 if (!usingTerrainModule)
305 {
306 remoteUser.SendLayerData(x, y, GetHeights1D());
307 }
303 } 308 }
304 } 309 }
305 } 310 }