Made the background (ie empty space) colour of the exported map image blue.
parent
87b07c19ef
commit
f71fa731f5
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue