From 497af009bd1aa59385b2aca86987b619f8647616 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 24 May 2007 05:44:53 +0000 Subject: * Reduced effect of terraforming brushes by 1000%. * Added new exportImage() function to BasicTerrain which will output a gradient-mapped image of the terrain which can be uploaded to the grid for things like world map images. (shiinnny), will update later with an improved version using the bilinear quad method employed in client terrain rendering. * Rebuild project & build files for basicterrain with System.Drawing dependency. Prebuild updated. --- OpenSim.RegionServer/world/World.PacketHandlers.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim.RegionServer') diff --git a/OpenSim.RegionServer/world/World.PacketHandlers.cs b/OpenSim.RegionServer/world/World.PacketHandlers.cs index 119bb19..7d74cb7 100644 --- a/OpenSim.RegionServer/world/World.PacketHandlers.cs +++ b/OpenSim.RegionServer/world/World.PacketHandlers.cs @@ -21,13 +21,13 @@ namespace OpenSim.world { case 1: // raise terrain - Terrain.raise(North, West, 10.0, 0.1); - RegenerateTerrain(true, (int)North, (int)West); + Terrain.raise(North, West, 10.0, 0.001); + RegenerateTerrain(true, (int)North, (int)West); break; case 2: //lower terrain - Terrain.lower(North, West, 10.0, 0.1); - RegenerateTerrain(true, (int)North, (int)West); + Terrain.lower(North, West, 10.0, 0.001); + RegenerateTerrain(true, (int)North, (int)West); break; } return; -- cgit v1.1