diff options
author | Adam Frisby | 2008-03-12 13:03:44 +0000 |
---|---|---|
committer | Adam Frisby | 2008-03-12 13:03:44 +0000 |
commit | d62612582552842ae138de7bec66656448c8e568 (patch) | |
tree | 72c6156bb5716803b6d9c75efc15d119f5ec56fc /OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs | |
parent | * Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't supp... (diff) | |
download | opensim-SC_OLD-d62612582552842ae138de7bec66656448c8e568.zip opensim-SC_OLD-d62612582552842ae138de7bec66656448c8e568.tar.gz opensim-SC_OLD-d62612582552842ae138de7bec66656448c8e568.tar.bz2 opensim-SC_OLD-d62612582552842ae138de7bec66656448c8e568.tar.xz |
* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs b/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs index e7d0373..fd25a06 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs | |||
@@ -78,6 +78,9 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FloodBrushes | |||
78 | { | 78 | { |
79 | for (y = 0; y < map.Height; y++) | 79 | for (y = 0; y < map.Height; y++) |
80 | { | 80 | { |
81 | if (!fillArea[x, y]) | ||
82 | continue; | ||
83 | |||
81 | double average = 0.0; | 84 | double average = 0.0; |
82 | int avgsteps = 0; | 85 | int avgsteps = 0; |
83 | 86 | ||