diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index bc9301b..234554e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1562,9 +1562,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1562 | //m_sceneGridService.RegisterRegion(m_interregionCommsOut, RegionInfo); | 1562 | //m_sceneGridService.RegisterRegion(m_interregionCommsOut, RegionInfo); |
1563 | 1563 | ||
1564 | GridRegion region = new GridRegion(RegionInfo); | 1564 | GridRegion region = new GridRegion(RegionInfo); |
1565 | bool success = GridService.RegisterRegion(RegionInfo.ScopeID, region); | 1565 | string error = GridService.RegisterRegion(RegionInfo.ScopeID, region); |
1566 | if (!success) | 1566 | if (error != String.Empty) |
1567 | throw new Exception("Can't register with grid"); | 1567 | throw new Exception(error); |
1568 | 1568 | ||
1569 | m_sceneGridService.SetScene(this); | 1569 | m_sceneGridService.SetScene(this); |
1570 | m_sceneGridService.InformNeighborsThatRegionisUp(RequestModuleInterface<INeighbourService>(), RegionInfo); | 1570 | m_sceneGridService.InformNeighborsThatRegionisUp(RequestModuleInterface<INeighbourService>(), RegionInfo); |