diff options
author | lbsa71 | 2007-09-20 07:49:11 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-20 07:49:11 +0000 |
commit | 14d5a2e9b757c258c6ad15f0939973ef172d2d1f (patch) | |
tree | e0eb78ae9b3d3dfcc1a811b127cdb968b3d625e1 /OpenSim/Region/Environment/Scenes | |
parent | * Rewired Touch to route to group/part (Still triggering EventManager as well) (diff) | |
download | opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.zip opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.gz opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.bz2 opensim-SC-14d5a2e9b757c258c6ad15f0939973ef172d2d1f.tar.xz |
* moved SceneManager to RegionApplicationBase
* Implemented SceneManager.StopScene() and Scene.Stop()
* Some SimpleApping
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneManager.cs | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 874bb41..a542ab0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1416,5 +1416,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
1416 | avatar = null; | 1416 | avatar = null; |
1417 | return false; | 1417 | return false; |
1418 | } | 1418 | } |
1419 | |||
1420 | public override void Close() | ||
1421 | { | ||
1422 | m_heartbeatTimer.Close(); | ||
1423 | |||
1424 | base.Close(); | ||
1425 | } | ||
1419 | } | 1426 | } |
1420 | } \ No newline at end of file | 1427 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs index 0670fc7..a97020e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneManager.cs +++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs | |||
@@ -227,5 +227,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
227 | avatar = null; | 227 | avatar = null; |
228 | return false; | 228 | return false; |
229 | } | 229 | } |
230 | |||
231 | public void CloseScene(Scene scene) | ||
232 | { | ||
233 | m_localScenes.Remove(scene); | ||
234 | scene.Close(); | ||
235 | } | ||
230 | } | 236 | } |
231 | } \ No newline at end of file | 237 | } \ No newline at end of file |