aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-18 21:52:07 +0100
committerJustin Clark-Casey (justincc)2012-07-18 21:52:07 +0100
commit4973fddc51a4a9e3952bd2decd0ea1842b742141 (patch)
tree8e525f6fbc4ea5ccfd9e8acbf36959c6f6249268 /OpenSim/Region/OptionalModules/Scripting
parentPass entire scene object in OnLoginsEnabled event rather than just the region... (diff)
downloadopensim-SC_OLD-4973fddc51a4a9e3952bd2decd0ea1842b742141.zip
opensim-SC_OLD-4973fddc51a4a9e3952bd2decd0ea1842b742141.tar.gz
opensim-SC_OLD-4973fddc51a4a9e3952bd2decd0ea1842b742141.tar.bz2
opensim-SC_OLD-4973fddc51a4a9e3952bd2decd0ea1842b742141.tar.xz
Establish EventManager.OnRegionReady event. This will only be triggerred once when the region is ready.
Switch MapImageServiceModule to use this.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
index 29515de..e09e633 100644
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -238,6 +238,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
238 { 238 {
239 RRAlert("enabled"); 239 RRAlert("enabled");
240 } 240 }
241
242 m_scene.EventManager.TriggerRegionReady(m_scene);
241 } 243 }
242 244
243 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue; 245 m_scene.EventManager.OnEmptyScriptCompileQueue -= OnEmptyScriptCompileQueue;