diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | 7 |
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> |