aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/world/World.PacketHandlers.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-24 05:44:53 +0000
committerAdam Frisby2007-05-24 05:44:53 +0000
commit497af009bd1aa59385b2aca86987b619f8647616 (patch)
tree0454f4317f09113660238e6e2280ee93ba5adad7 /OpenSim.RegionServer/world/World.PacketHandlers.cs
parent* Simulators should no longer require all their neighbours to be online to ac... (diff)
downloadopensim-SC_OLD-497af009bd1aa59385b2aca86987b619f8647616.zip
opensim-SC_OLD-497af009bd1aa59385b2aca86987b619f8647616.tar.gz
opensim-SC_OLD-497af009bd1aa59385b2aca86987b619f8647616.tar.bz2
opensim-SC_OLD-497af009bd1aa59385b2aca86987b619f8647616.tar.xz
* 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.
Diffstat (limited to 'OpenSim.RegionServer/world/World.PacketHandlers.cs')
-rw-r--r--OpenSim.RegionServer/world/World.PacketHandlers.cs8
1 files changed, 4 insertions, 4 deletions
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
21 { 21 {
22 case 1: 22 case 1:
23 // raise terrain 23 // raise terrain
24 Terrain.raise(North, West, 10.0, 0.1); 24 Terrain.raise(North, West, 10.0, 0.001);
25 RegenerateTerrain(true, (int)North, (int)West); 25 RegenerateTerrain(true, (int)North, (int)West);
26 break; 26 break;
27 case 2: 27 case 2:
28 //lower terrain 28 //lower terrain
29 Terrain.lower(North, West, 10.0, 0.1); 29 Terrain.lower(North, West, 10.0, 0.001);
30 RegenerateTerrain(true, (int)North, (int)West); 30 RegenerateTerrain(true, (int)North, (int)West);
31 break; 31 break;
32 } 32 }
33 return; 33 return;