* 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.
0.6.0-stable
Adam Frisby 2008-03-12 11:47:34 +00:00
parent 95e4d1ae5e
commit 935e67a783
1 changed files with 3 additions and 3 deletions

View File

@ -392,7 +392,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
if (m_painteffects.ContainsKey((StandardTerrainEffects)action))
{
m_painteffects[(StandardTerrainEffects)action].PaintEffect(
m_channel, west, south, Math.Pow(size, 2.0), seconds);
m_channel, west, south, size, seconds);
bool usingTerrainModule = true;
@ -421,7 +421,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
{
if (x < east && x > west)
{
if (y < south && y > north)
if (y < north && y > south)
{
fillArea[x, y] = true;
}
@ -430,7 +430,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
}
m_floodeffects[(StandardTerrainEffects)action].FloodEffect(
m_channel, fillArea, Math.Pow(size, 2.0));
m_channel, fillArea, size);
bool usingTerrainModule = true;
if (usingTerrainModule)