diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs index 34bed8b..8937f63 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs | |||
@@ -43,9 +43,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes | |||
43 | int x, y; | 43 | int x, y; |
44 | 44 | ||
45 | // blend in map | 45 | // blend in map |
46 | for (x = 0; x < map.Width; x++) | 46 | for (x = startX; x <= endX; x++) |
47 | { | 47 | { |
48 | for (y = 0; y < map.Height; y++) | 48 | for (y = startY; y <= endY; y++) |
49 | { | 49 | { |
50 | if (!mask[x,y]) | 50 | if (!mask[x,y]) |
51 | continue; | 51 | continue; |