* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.
parent
1277f68f43
commit
d626125825
|
@ -78,6 +78,9 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FloodBrushes
|
|||
{
|
||||
for (y = 0; y < map.Height; y++)
|
||||
{
|
||||
if (!fillArea[x, y])
|
||||
continue;
|
||||
|
||||
double average = 0.0;
|
||||
int avgsteps = 0;
|
||||
|
||||
|
|
|
@ -414,7 +414,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain
|
|||
fillArea.Initialize();
|
||||
|
||||
int x, y;
|
||||
|
||||
|
||||
for (x = 0; x < m_channel.Width; x++)
|
||||
{
|
||||
for (y = 0; y < m_channel.Height; y++)
|
||||
|
|
Loading…
Reference in New Issue