diff --git a/src/BasicPathFinding.cs b/src/BasicPathFinding.cs index ae4c996..95655b8 100644 --- a/src/BasicPathFinding.cs +++ b/src/BasicPathFinding.cs @@ -147,12 +147,12 @@ namespace OpenSim.Modules.PathFinding { Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY); - for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++) + for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++) { - m_log.Info("X: " + X); - for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++) + m_log.Info("Y: " + Y); + for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++) { - m_log.Info("Y: " + Y); + m_log.Info("X: " + X); _map.SetPixel(X, Y, Color.Green);