diff options
author | Justin Clark-Casey (justincc) | 2012-07-18 21:52:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-18 21:52:07 +0100 |
commit | 4973fddc51a4a9e3952bd2decd0ea1842b742141 (patch) | |
tree | 8e525f6fbc4ea5ccfd9e8acbf36959c6f6249268 /OpenSim/Region/OptionalModules | |
parent | Pass entire scene object in OnLoginsEnabled event rather than just the region... (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | 2 |
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; |