fill the bitmap black
parent
28df1f23d0
commit
9e9f3dacba
|
@ -52,6 +52,16 @@ namespace OpenSim.Modules.PathFinding
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
|
||||
{
|
||||
for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++)
|
||||
{
|
||||
m_bitmap.SetPixel(X, Y, Color.Black);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PathFindingSceneGenerator.DrawObjectVolume(m_scene, ref m_bitmap);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue