diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 3182204..08c8d59 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1055,9 +1055,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
1055 | /// | 1055 | /// |
1056 | /// </summary> | 1056 | /// </summary> |
1057 | /// <returns></returns> | 1057 | /// <returns></returns> |
1058 | public List<ScenePresence> RequestSceneAvatars() | 1058 | public List<ScenePresence> GetScenePresences() |
1059 | { | 1059 | { |
1060 | return m_scene.RequestAvatarList(); | 1060 | return m_scene.GetScenePresences(); |
1061 | } | 1061 | } |
1062 | 1062 | ||
1063 | #region Events | 1063 | #region Events |
@@ -1233,7 +1233,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1233 | DetachFromBackup(this); | 1233 | DetachFromBackup(this); |
1234 | foreach (SceneObjectPart part in m_parts.Values) | 1234 | foreach (SceneObjectPart part in m_parts.Values) |
1235 | { | 1235 | { |
1236 | List<ScenePresence> avatars = RequestSceneAvatars(); | 1236 | List<ScenePresence> avatars = GetScenePresences(); |
1237 | for (int i = 0; i < avatars.Count; i++) | 1237 | for (int i = 0; i < avatars.Count; i++) |
1238 | { | 1238 | { |
1239 | avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalID); | 1239 | avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalID); |