fill the bitmap black

master
Christopher Latza 2020-06-11 12:33:29 +02:00
parent 28df1f23d0
commit 9e9f3dacba
1 changed files with 10 additions and 0 deletions

View File

@ -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); PathFindingSceneGenerator.DrawObjectVolume(m_scene, ref m_bitmap);
} }