Bug fix for getting region flags.

slimupdates
Diva Canto 2010-02-01 07:53:55 -08:00
parent 7896965d71
commit 8466f13976
2 changed files with 9 additions and 1 deletions

View File

@ -200,6 +200,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
// Let's not override GetRegionRange -- let's get them all from the grid server // Let's not override GetRegionRange -- let's get them all from the grid server
public override int GetRegionFlags(UUID scopeID, UUID regionID)
{
int flags = m_LocalGridService.GetRegionFlags(scopeID, regionID);
if (flags == -1)
flags = base.GetRegionFlags(scopeID, regionID);
return flags;
}
#endregion #endregion
} }
} }

View File

@ -562,7 +562,7 @@ namespace OpenSim.Services.Connectors
return rinfos; return rinfos;
} }
public int GetRegionFlags(UUID scopeID, UUID regionID) public virtual int GetRegionFlags(UUID scopeID, UUID regionID)
{ {
Dictionary<string, object> sendData = new Dictionary<string, object>(); Dictionary<string, object> sendData = new Dictionary<string, object>();