mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Bug fix for getting region flags.
This commit is contained in:
@@ -200,6 +200,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||
|
||||
// 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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -562,7 +562,7 @@ namespace OpenSim.Services.Connectors
|
||||
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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user