Establish EventManager.OnRegionReady event. This will only be triggerred once when the region is ready.

Switch MapImageServiceModule to use this.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-07-18 21:52:07 +01:00
parent 6460e587c4
commit 4973fddc51
4 changed files with 39 additions and 11 deletions

View File

@@ -238,6 +238,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
{
RRAlert("enabled");
}
m_scene.EventManager.TriggerRegionReady(m_scene);
}
m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;