aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/FloodBrushes/FlattenArea.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/FlattenSphere.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/RevertSphere.cs2
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/SmoothSphere.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/WeatherSphere.cs2
5 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/FloodBrushes/FlattenArea.cs b/OpenSim/Region/CoreModules/World/Terrain/FloodBrushes/FlattenArea.cs
index 8bdf55f..0c4171e 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/FloodBrushes/FlattenArea.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/FloodBrushes/FlattenArea.cs
@@ -58,7 +58,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FloodBrushes
58 58
59 for (x = startX; x <= endX; x++) 59 for (x = startX; x <= endX; x++)
60 { 60 {
61 for (y = startY; y < endY; y++) 61 for (y = startY; y <= endY; y++)
62 { 62 {
63 if (fillArea[x, y]) 63 if (fillArea[x, y])
64 map[x, y] = (map[x, y] * (1.0 - str)) + (avg * str); 64 map[x, y] = (map[x, y] * (1.0 - str)) + (avg * str);
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;
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/RevertSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/RevertSphere.cs
index 2fb05d1..efc5324 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/RevertSphere.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/RevertSphere.cs
@@ -55,7 +55,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
55 int x,y; 55 int x,y;
56 for (x = startX; x <= endX; x++) 56 for (x = startX; x <= endX; x++)
57 { 57 {
58 for (y = startY; y < endY; y++) 58 for (y = startY; y <= endY; y++)
59 { 59 {
60 if (!mask[x, y]) 60 if (!mask[x, y])
61 continue; 61 continue;
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/SmoothSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/SmoothSphere.cs
index cc618fd..65dd0a6 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/SmoothSphere.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/SmoothSphere.cs
@@ -50,7 +50,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
50 // compute delta map 50 // compute delta map
51 for (x = startX; x <= endX; x++) 51 for (x = startX; x <= endX; x++)
52 { 52 {
53 for (y = startY; y < endY; y++) 53 for (y = startY; y <= endY; y++)
54 { 54 {
55 if (!mask[x, y]) 55 if (!mask[x, y])
56 continue; 56 continue;
@@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
79 // blend in map 79 // blend in map
80 for (x = startX; x <= endX; x++) 80 for (x = startX; x <= endX; x++)
81 { 81 {
82 for (y = startY; y < endY; y++) 82 for (y = startY; y <= endY; y++)
83 { 83 {
84 if (!mask[x, y]) 84 if (!mask[x, y])
85 continue; 85 continue;
diff --git a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/WeatherSphere.cs b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/WeatherSphere.cs
index c9facc7..f52fe07 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/WeatherSphere.cs
+++ b/OpenSim/Region/CoreModules/World/Terrain/PaintBrushes/WeatherSphere.cs
@@ -157,7 +157,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.PaintBrushes
157 157
158 for (x = startX; x <= endX; x++) 158 for (x = startX; x <= endX; x++)
159 { 159 {
160 for (y = startY; y < endY; y++) 160 for (y = startY; y <= endY; y++)
161 { 161 {
162 if (!mask[x,y]) 162 if (!mask[x,y])
163 continue; 163 continue;