change XY
parent
095797dc5c
commit
0878b99a2d
|
@ -147,12 +147,12 @@ namespace OpenSim.Modules.PathFinding
|
||||||
{
|
{
|
||||||
Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY);
|
Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY);
|
||||||
|
|
||||||
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
|
|
||||||
{
|
|
||||||
m_log.Info("X: " + X);
|
|
||||||
for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++)
|
for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++)
|
||||||
{
|
{
|
||||||
m_log.Info("Y: " + Y);
|
m_log.Info("Y: " + Y);
|
||||||
|
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
|
||||||
|
{
|
||||||
|
m_log.Info("X: " + X);
|
||||||
|
|
||||||
_map.SetPixel(X, Y, Color.Green);
|
_map.SetPixel(X, Y, Color.Green);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue