aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2015-08-21 00:47:44 +0100
committerUbitUmarov2015-08-21 00:47:44 +0100
commit6555bbffaa9cc76851beca53c11833e00eae9ef3 (patch)
treee93ace3de9d9d4c78f0a0d46fb11751d4a7ad199 /OpenSim/Region
parent remove a 256m check (diff)
downloadopensim-SC_OLD-6555bbffaa9cc76851beca53c11833e00eae9ef3.zip
opensim-SC_OLD-6555bbffaa9cc76851beca53c11833e00eae9ef3.tar.gz
opensim-SC_OLD-6555bbffaa9cc76851beca53c11833e00eae9ef3.tar.bz2
opensim-SC_OLD-6555bbffaa9cc76851beca53c11833e00eae9ef3.tar.xz
remove the noise part on the PinHeadIsland. why to want something that
does not compress well on island?
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainChannel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainChannel.cs b/OpenSim/Region/Framework/Scenes/TerrainChannel.cs
index 282a44a..684029d 100644
--- a/OpenSim/Region/Framework/Scenes/TerrainChannel.cs
+++ b/OpenSim/Region/Framework/Scenes/TerrainChannel.cs
@@ -402,7 +402,8 @@ namespace OpenSim.Region.Framework.Scenes
402 { 402 {
403 for (int y = 0; y < Height; y++) 403 for (int y = 0; y < Height; y++)
404 { 404 {
405 h = (float)TerrainUtil.PerlinNoise2D(x, y, 2, 0.125) * 10; 405 // h = (float)TerrainUtil.PerlinNoise2D(x, y, 2, 0.125) * 10;
406 h = 1.0f;
406 float spherFacA = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 50) * 0.01d); 407 float spherFacA = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 50) * 0.01d);
407 float spherFacB = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 100) * 0.001d); 408 float spherFacB = (float)(TerrainUtil.SphericalFactor(x, y, cx, cy, 100) * 0.001d);
408 if (h < spherFacA) 409 if (h < spherFacA)