diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/ModuleLoader.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs index bc0bbaf..1200c8d 100644 --- a/OpenSim/Region/Environment/ModuleLoader.cs +++ b/OpenSim/Region/Environment/ModuleLoader.cs | |||
@@ -294,5 +294,12 @@ namespace OpenSim.Region.Environment | |||
294 | { | 294 | { |
295 | LoadedAssemblys.Clear(); | 295 | LoadedAssemblys.Clear(); |
296 | } | 296 | } |
297 | |||
298 | public void UnloadModule(IRegionModule rm) | ||
299 | { | ||
300 | rm.Close(); | ||
301 | |||
302 | m_loadedModules.Remove(rm); | ||
303 | } | ||
297 | } | 304 | } |
298 | } \ No newline at end of file | 305 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 0b88050..490f808 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -45,6 +45,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
45 | private readonly List<Scene> m_localScenes; | 45 | private readonly List<Scene> m_localScenes; |
46 | private Scene m_currentScene = null; | 46 | private Scene m_currentScene = null; |
47 | 47 | ||
48 | public List<Scene> Scenes | ||
49 | { | ||
50 | get { return m_localScenes; } | ||
51 | } | ||
52 | |||
48 | public Scene CurrentScene | 53 | public Scene CurrentScene |
49 | { | 54 | { |
50 | get { return m_currentScene; } | 55 | get { return m_currentScene; } |