aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorTedd Hansen2008-02-10 19:03:38 +0000
committerTedd Hansen2008-02-10 19:03:38 +0000
commit0756e01475f05663e23fc2e328620750d981dd40 (patch)
tree9a0ecb4f950a0cf804f341898d57bce5180ab9da /OpenSim/Region/Environment
parent* Added support for delinking individual prim from a linkset. (diff)
downloadopensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.zip
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.gz
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.bz2
opensim-SC_OLD-0756e01475f05663e23fc2e328620750d981dd40.tar.xz
Removed some ScriptEngine config debugging.
Added experimental console command to: * unload module (note: module probably doesn't support it) * load module Not visible in help (needs testing first).
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs7
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs5
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; }