* 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++)
|
for (y = 0; y < map.Height; y++)
|
||||||
{
|
{
|
||||||
|
if (!fillArea[x, y])
|
||||||
|
continue;
|
||||||
|
|
||||||
double average = 0.0;
|
double average = 0.0;
|
||||||
int avgsteps = 0;
|
int avgsteps = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue