diff options
author | Melanie | 2012-11-12 22:50:28 +0000 |
---|---|---|
committer | Melanie | 2012-11-12 22:50:28 +0000 |
commit | 8c130bcaf5a60fa042d8df38ba1d1e1cb328d768 (patch) | |
tree | c96ae7dcf06cf6f6b4efba25bb0a37e55c053fce /OpenSim/Region/Framework/Scenes/SceneManager.cs | |
parent | Remove IRegionModule support from the test setup helper (diff) | |
download | opensim-SC-8c130bcaf5a60fa042d8df38ba1d1e1cb328d768.zip opensim-SC-8c130bcaf5a60fa042d8df38ba1d1e1cb328d768.tar.gz opensim-SC-8c130bcaf5a60fa042d8df38ba1d1e1cb328d768.tar.bz2 opensim-SC-8c130bcaf5a60fa042d8df38ba1d1e1cb328d768.tar.xz |
Remove the old style module loader and all references to it
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneManager.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneManager.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs index cb5b2ba..992e71d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -144,22 +144,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
144 | // collect known shared modules in sharedModules | 144 | // collect known shared modules in sharedModules |
145 | Dictionary<string, IRegionModule> sharedModules = new Dictionary<string, IRegionModule>(); | 145 | Dictionary<string, IRegionModule> sharedModules = new Dictionary<string, IRegionModule>(); |
146 | 146 | ||
147 | lock (m_localScenes) | ||
148 | { | ||
149 | for (int i = 0; i < m_localScenes.Count; i++) | ||
150 | { | ||
151 | // extract known shared modules from scene | ||
152 | foreach (string k in m_localScenes[i].Modules.Keys) | ||
153 | { | ||
154 | if (m_localScenes[i].Modules[k].IsSharedModule && | ||
155 | !sharedModules.ContainsKey(k)) | ||
156 | sharedModules[k] = m_localScenes[i].Modules[k]; | ||
157 | } | ||
158 | // close scene/region | ||
159 | m_localScenes[i].Close(); | ||
160 | } | ||
161 | } | ||
162 | |||
163 | // all regions/scenes are now closed, we can now safely | 147 | // all regions/scenes are now closed, we can now safely |
164 | // close all shared modules | 148 | // close all shared modules |
165 | foreach (IRegionModule mod in sharedModules.Values) | 149 | foreach (IRegionModule mod in sharedModules.Values) |