move debug pixel

master
Christopher Latza 2020-06-10 22:08:35 +02:00
parent 4b787ca0e5
commit 8642a3dcce
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,6 @@ namespace OpenSim.Modules.PathFinding
{
Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY);
_map.SetPixel(0, 0, Color.White);
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
{
@ -156,6 +154,8 @@ namespace OpenSim.Modules.PathFinding
}
}
_map.SetPixel(0, 0, Color.White);
PathFindingSceneGenerator.DrawObjectVolume(m_scene, ref _map);
_map.Save(imageName + ".png", ImageFormat.Png);