diff options
author | Justin Clark-Casey (justincc) | 2012-07-25 21:00:59 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-25 21:00:59 +0100 |
commit | 31304c222df1e5a832afd0ebcf7d3ed403543e54 (patch) | |
tree | d139e3f34534caa4f31c58503b88bd02a3385d45 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |
parent | Rename "image queues clear" console command to "clear image queues" (diff) | |
download | opensim-SC_OLD-31304c222df1e5a832afd0ebcf7d3ed403543e54.zip opensim-SC_OLD-31304c222df1e5a832afd0ebcf7d3ed403543e54.tar.gz opensim-SC_OLD-31304c222df1e5a832afd0ebcf7d3ed403543e54.tar.bz2 opensim-SC_OLD-31304c222df1e5a832afd0ebcf7d3ed403543e54.tar.xz |
Make SceneManager.OnRegionsReadyStatusChange event available.
This is fired when all regions are ready or when at least one region becomes not ready.
Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index da344d6..2dba029 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -646,7 +646,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
646 | 646 | ||
647 | // If region ready has been triggered, then the region had no scripts to compile and completed its other | 647 | // If region ready has been triggered, then the region had no scripts to compile and completed its other |
648 | // work. | 648 | // work. |
649 | m_Scene.EventManager.OnRegionReady += s => m_InitialStartup = false; | 649 | m_Scene.EventManager.OnRegionReadyStatusChange += s => { if (s.Ready) m_InitialStartup = false; }; |
650 | 650 | ||
651 | if (m_SleepTime > 0) | 651 | if (m_SleepTime > 0) |
652 | { | 652 | { |