Made the background (ie empty space) colour of the exported map image blue.

afrisby
MW 2007-11-18 12:18:56 +00:00
parent 87b07c19ef
commit f71fa731f5
1 changed files with 2 additions and 0 deletions

View File

@ -502,6 +502,8 @@ namespace OpenSim.Region.Environment.Scenes
System.Drawing.Bitmap mapTexture = new System.Drawing.Bitmap(2560, 2560); System.Drawing.Bitmap mapTexture = new System.Drawing.Bitmap(2560, 2560);
System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(mapTexture); System.Drawing.Graphics g = System.Drawing.Graphics.FromImage(mapTexture);
System.Drawing.SolidBrush sea = new System.Drawing.SolidBrush(System.Drawing.Color.DarkBlue);
g.FillRectangle(sea, 0, 0, 2560, 2560);
for(int i =0; i<mapBlocks.Count; i++) for(int i =0; i<mapBlocks.Count; i++)
{ {