diff options
Made the background (ie empty space) colour of the exported map image blue.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index bc4fa3c..0470335 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -502,6 +502,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
502 | 502 | ||
503 | System.Drawing.Bitmap mapTexture = new System.Drawing.Bitmap(2560, 2560); | 503 | System.Drawing.Bitmap mapTexture = new System.Drawing.Bitmap(2560, 2560); |
504 | System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(mapTexture); | 504 | System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(mapTexture); |
505 | System.Drawing.SolidBrush sea = new System.Drawing.SolidBrush(System.Drawing.Color.DarkBlue); | ||
506 | g.FillRectangle(sea, 0, 0, 2560, 2560); | ||
505 | 507 | ||
506 | for(int i =0; i<mapBlocks.Count; i++) | 508 | for(int i =0; i<mapBlocks.Count; i++) |
507 | { | 509 | { |