diff options
author | Justin Clark-Casey (justincc) | 2011-12-09 23:07:53 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-12-09 23:07:53 +0000 |
commit | af3cd00048fb6476eb5140bcfccda926627363f2 (patch) | |
tree | a795ef16e7d6db97bd2cddf8737027c1e95ff853 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | remove some unused fields in ScenePresence (diff) | |
download | opensim-SC-af3cd00048fb6476eb5140bcfccda926627363f2.zip opensim-SC-af3cd00048fb6476eb5140bcfccda926627363f2.tar.gz opensim-SC-af3cd00048fb6476eb5140bcfccda926627363f2.tar.bz2 opensim-SC-af3cd00048fb6476eb5140bcfccda926627363f2.tar.xz |
Get rid of IScene.PresenceChildStatus() which always had to execute a lookup in favour of IClientAPI.ISceneAgent.IsChildAgent instead.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
1 files changed, 0 insertions, 11 deletions
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 | |||
4193 | } | 4193 | } |
4194 | 4194 | ||
4195 | /// <summary> | 4195 | /// <summary> |
4196 | /// Returns true if scene presence is a child (no avatar in this scene) | ||
4197 | /// </summary> | ||
4198 | /// <param name="avatarID"></param> | ||
4199 | /// <returns></returns> | ||
4200 | public override bool PresenceChildStatus(UUID avatarID) | ||
4201 | { | ||
4202 | ScenePresence sp; | ||
4203 | return TryGetScenePresence(avatarID, out sp) && sp.IsChildAgent; | ||
4204 | } | ||
4205 | |||
4206 | /// <summary> | ||
4207 | /// Performs action on all avatars in the scene (root scene presences) | 4196 | /// Performs action on all avatars in the scene (root scene presences) |
4208 | /// Avatars may be an NPC or a 'real' client. | 4197 | /// Avatars may be an NPC or a 'real' client. |
4209 | /// </summary> | 4198 | /// </summary> |