aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneManager.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs
index 0491205..d73a959 100644
--- a/OpenSim/Region/Framework/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs
@@ -562,26 +562,6 @@ namespace OpenSim.Region.Framework.Scenes
562 return false; 562 return false;
563 } 563 }
564 564
565 public bool TryGetAvatarsScene(UUID avatarId, out Scene scene)
566 {
567 ScenePresence avatar = null;
568
569 lock (m_localScenes)
570 {
571 foreach (Scene mScene in m_localScenes)
572 {
573 if (mScene.TryGetScenePresence(avatarId, out avatar))
574 {
575 scene = mScene;
576 return true;
577 }
578 }
579 }
580
581 scene = null;
582 return false;
583 }
584
585 public void CloseScene(Scene scene) 565 public void CloseScene(Scene scene)
586 { 566 {
587 lock (m_localScenes) 567 lock (m_localScenes)