Thank you kindly, Jonc, for a patch that solves

the issue of a console command 'export-map file.jpg'
having the map flipped when exported.
0.6.6-post-fixes
Charles Krinke 2009-05-17 18:09:39 +00:00
parent 720e2bc5d9
commit 74f1c16c49
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
{
ushort x = (ushort)((mapBlocks[i].X - m_scene.RegionInfo.RegionLocX) + 10);
ushort y = (ushort)((mapBlocks[i].Y - m_scene.RegionInfo.RegionLocY) + 10);
g.DrawImage(bitImages[i], (x * 128), (y * 128), 128, 128);
g.DrawImage(bitImages[i], (x * 128), 2560 - (y * 128), 128, 128); // y origin is top
}
mapTexture.Save(exportPath, ImageFormat.Jpeg);