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
parent
720e2bc5d9
commit
74f1c16c49
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue