mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user