aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-25 21:00:59 +0100
committerJustin Clark-Casey (justincc)2012-07-25 21:00:59 +0100
commit31304c222df1e5a832afd0ebcf7d3ed403543e54 (patch)
treed139e3f34534caa4f31c58503b88bd02a3385d45 /OpenSim/Region/CoreModules
parentRename "image queues clear" console command to "clear image queues" (diff)
downloadopensim-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/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs
index 5641804..9d282b8 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs
@@ -131,11 +131,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage
131 ///<summary> 131 ///<summary>
132 /// 132 ///
133 ///</summary> 133 ///</summary>
134
135
136 ///<summary>
137 ///
138 ///</summary>
139 public void AddRegion(Scene scene) 134 public void AddRegion(Scene scene)
140 { 135 {
141 if (! m_enabled) 136 if (! m_enabled)
@@ -146,7 +141,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage
146 lock (m_scenes) 141 lock (m_scenes)
147 m_scenes[scene.RegionInfo.RegionID] = scene; 142 m_scenes[scene.RegionInfo.RegionID] = scene;
148 143
149 scene.EventManager.OnRegionReady += s => UploadMapTile(s); 144 scene.EventManager.OnRegionReadyStatusChange += s => { if (s.Ready) UploadMapTile(s); };
150 } 145 }
151 146
152 ///<summary> 147 ///<summary>