aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/GenericSystemDrawing.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/GenericSystemDrawing.cs b/OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/GenericSystemDrawing.cs
index bb819e1..f87d3ee 100644
--- a/OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/GenericSystemDrawing.cs
+++ b/OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/GenericSystemDrawing.cs
@@ -67,7 +67,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.FileLoaders
67 int y; 67 int y;
68 for (y = 0; y < file.Height; y++) 68 for (y = 0; y < file.Height; y++)
69 { 69 {
70 retval[x, y] = file.GetPixel(x, y).GetBrightness() * 128; 70 retval[x, y] = file.GetPixel(x, file.Height - y - 1).GetBrightness() * 128;
71 } 71 }
72 } 72 }
73 73
@@ -170,4 +170,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.FileLoaders
170 return bmp; 170 return bmp;
171 } 171 }
172 } 172 }
173} \ No newline at end of file 173}