diff options
author | Adam Frisby | 2008-03-12 13:49:38 +0000 |
---|---|---|
committer | Adam Frisby | 2008-03-12 13:49:38 +0000 |
commit | be6d8f6d9af396d541f10e6ec035711b629f17e8 (patch) | |
tree | 1c9edd39e5372d2574aab465e6d69bb1bf94b766 /OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs | |
parent | * Fix for Smooth Area Flood Brush, now doesn't flood the entire sim. (diff) | |
download | opensim-SC_OLD-be6d8f6d9af396d541f10e6ec035711b629f17e8.zip opensim-SC_OLD-be6d8f6d9af396d541f10e6ec035711b629f17e8.tar.gz opensim-SC_OLD-be6d8f6d9af396d541f10e6ec035711b629f17e8.tar.bz2 opensim-SC_OLD-be6d8f6d9af396d541f10e6ec035711b629f17e8.tar.xz |
* Switched Noise 'Flood Area' brush to use Perlin rather than random noise.
* Fixed a bug with the Smooth Area brush.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs')
-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 fd25a06..17f658d 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/FloodBrushes/SmoothArea.cs | |||
@@ -100,6 +100,9 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FloodBrushes | |||
100 | { | 100 | { |
101 | for (y = 0; y < map.Height; y++) | 101 | for (y = 0; y < map.Height; y++) |
102 | { | 102 | { |
103 | if (!fillArea[x, y]) | ||
104 | continue; | ||
105 | |||
103 | map[x, y] = manipulate[x, y]; | 106 | map[x, y] = manipulate[x, y]; |
104 | } | 107 | } |
105 | } | 108 | } |