From b2dbd12a819207f65d64134ded2274a83e7ffc51 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 01:52:43 +1000 Subject: Better sim startup finished messages. Inform neighbours we are up before the finished messages. Always send the "[RegionReady]: INITIALIZATION COMPLETE FOR" message. --- OpenSim/Region/Framework/Scenes/Scene.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index b255924..dd23bf6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -1802,19 +1802,19 @@ namespace OpenSim.Region.Framework.Scenes GC.Collect(); if (!LoginLock) { + m_sceneGridService.InformNeighborsThatRegionisUp( + RequestModuleInterface(), RegionInfo); + if (!StartDisabled) { m_log.InfoFormat("[REGION]: Enabling logins for {0}", RegionInfo.RegionName); LoginsEnabled = true; } - m_sceneGridService.InformNeighborsThatRegionisUp( - RequestModuleInterface(), RegionInfo); - // Region ready should always be set Ready = true; } - else +//// else { // This handles a case of a region having no scripts for the RegionReady module if (m_sceneGraph.GetActiveScriptsCount() == 0) -- cgit v1.1