mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
* If a region running in grid mode fails to login to the grid service, startup will now terminate instead of carrying on (and thus burying the error message)
This commit is contained in:
@@ -924,13 +924,20 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Register this region with a grid service
|
||||
/// </summary>
|
||||
/// <exception cref="System.Exception">Thrown if registration of the region itself fails.</exception>
|
||||
public void RegisterRegionWithGrid()
|
||||
{
|
||||
RegisterCommsEvents();
|
||||
|
||||
// These two 'commands' *must be* next to each other or sim rebooting fails.
|
||||
m_sceneGridService.RegisterRegion(RegionInfo);
|
||||
m_sceneGridService.InformNeighborsThatRegionisUp(RegionInfo);
|
||||
|
||||
Dictionary<string, string> dGridSettings = m_sceneGridService.GetGridSettings();
|
||||
|
||||
if (dGridSettings.ContainsKey("allow_forceful_banlines"))
|
||||
{
|
||||
if (dGridSettings["allow_forceful_banlines"] != "TRUE")
|
||||
|
||||
Reference in New Issue
Block a user