From af3cd00048fb6476eb5140bcfccda926627363f2 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 9 Dec 2011 23:07:53 +0000 Subject: Get rid of IScene.PresenceChildStatus() which always had to execute a lookup in favour of IClientAPI.ISceneAgent.IsChildAgent instead. --- OpenSim/Region/Framework/Scenes/Scene.cs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs') diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 11505cc..9fdf395 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -4193,17 +4193,6 @@ namespace OpenSim.Region.Framework.Scenes } /// - /// Returns true if scene presence is a child (no avatar in this scene) - /// - /// - /// - public override bool PresenceChildStatus(UUID avatarID) - { - ScenePresence sp; - return TryGetScenePresence(avatarID, out sp) && sp.IsChildAgent; - } - - /// /// Performs action on all avatars in the scene (root scene presences) /// Avatars may be an NPC or a 'real' client. /// -- cgit v1.1