Addresses mantis #5846

0.7.4.1
Diva Canto 2012-04-08 17:54:59 -07:00
parent d4a370a5f2
commit 0f277dfa17
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@ namespace OpenSim.Region.Framework.Scenes
// that the region position is cached or performance will degrade
Utils.LongToUInts(regionHandle, out x, out y);
GridRegion dest = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y);
// bool v = true;
if (dest == null)
continue;
if (!simulatorList.Contains(dest.ServerURI))
{
// we havent seen this simulator before, add it to the list