diff options
author | MW | 2007-11-18 12:18:56 +0000 |
---|---|---|
committer | MW | 2007-11-18 12:18:56 +0000 |
commit | f71fa731f53783d6ef51db4c71779e4d759ce2e4 (patch) | |
tree | ba1b77d69d7bef76154fee0667d3050df0478ec2 /OpenSim | |
parent | Added "export-map <filename>" console command to the region server that will ... (diff) | |
download | opensim-SC-f71fa731f53783d6ef51db4c71779e4d759ce2e4.zip opensim-SC-f71fa731f53783d6ef51db4c71779e4d759ce2e4.tar.gz opensim-SC-f71fa731f53783d6ef51db4c71779e4d759ce2e4.tar.bz2 opensim-SC-f71fa731f53783d6ef51db4c71779e4d759ce2e4.tar.xz |
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 | { |