aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2008-03-12 11:47:34 +0000
committerAdam Frisby2008-03-12 11:47:34 +0000
commit935e67a783b2fbfb11b7705ba06289f637fd6143 (patch)
treea8382695facd15c55f0a536677b6120d7e588b69 /OpenSim/Region
parent* made some privates protected (diff)
downloadopensim-SC-935e67a783b2fbfb11b7705ba06289f637fd6143.zip
opensim-SC-935e67a783b2fbfb11b7705ba06289f637fd6143.tar.gz
opensim-SC-935e67a783b2fbfb11b7705ba06289f637fd6143.tar.bz2
opensim-SC-935e67a783b2fbfb11b7705ba06289f637fd6143.tar.xz
* Updated Terrain Module
* Terrain Area-of-Effect brushes now should work properly. * Updated the scale / effect of various brushes. Small & Medium brushes should now actually do something.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
index 507bcf4..639257c 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs
@@ -392,7 +392,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
392 if (m_painteffects.ContainsKey((StandardTerrainEffects)action)) 392 if (m_painteffects.ContainsKey((StandardTerrainEffects)action))
393 { 393 {
394 m_painteffects[(StandardTerrainEffects)action].PaintEffect( 394 m_painteffects[(StandardTerrainEffects)action].PaintEffect(
395 m_channel, west, south, Math.Pow(size, 2.0), seconds); 395 m_channel, west, south, size, seconds);
396 396
397 bool usingTerrainModule = true; 397 bool usingTerrainModule = true;
398 398
@@ -421,7 +421,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
421 { 421 {
422 if (x < east && x > west) 422 if (x < east && x > west)
423 { 423 {
424 if (y < south && y > north) 424 if (y < north && y > south)
425 { 425 {
426 fillArea[x, y] = true; 426 fillArea[x, y] = true;
427 } 427 }
@@ -430,7 +430,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
430 } 430 }
431 431
432 m_floodeffects[(StandardTerrainEffects)action].FloodEffect( 432 m_floodeffects[(StandardTerrainEffects)action].FloodEffect(
433 m_channel, fillArea, Math.Pow(size, 2.0)); 433 m_channel, fillArea, size);
434 bool usingTerrainModule = true; 434 bool usingTerrainModule = true;
435 435
436 if (usingTerrainModule) 436 if (usingTerrainModule)