aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-14 21:09:41 +0000
committerJustin Clarke Casey2008-05-14 21:09:41 +0000
commit587f6ab6459d12a9c6fe02dcf272d954b545d099 (patch)
treebc67cec592a8ceed816761aa2fb3990f3d021e8d /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parent*SVN Executable on HttpServer.dll (diff)
downloadopensim-SC-587f6ab6459d12a9c6fe02dcf272d954b545d099.zip
opensim-SC-587f6ab6459d12a9c6fe02dcf272d954b545d099.tar.gz
opensim-SC-587f6ab6459d12a9c6fe02dcf272d954b545d099.tar.bz2
opensim-SC-587f6ab6459d12a9c6fe02dcf272d954b545d099.tar.xz
* Refactor: Remove SceneObjectGroup.GetScenePresences() in favour of a direct call to Scene
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index bc99aa4..4a112ae 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -785,15 +785,6 @@ namespace OpenSim.Region.Environment.Scenes
785 part.ClearUndoState(); 785 part.ClearUndoState();
786 } 786 }
787 787
788 /// <summary>
789 ///
790 /// </summary>
791 /// <returns></returns>
792 public List<ScenePresence> GetScenePresences()
793 {
794 return m_scene.GetScenePresences();
795 }
796
797 public override void UpdateMovement() 788 public override void UpdateMovement()
798 { 789 {
799 lock (m_parts) 790 lock (m_parts)
@@ -933,7 +924,7 @@ namespace OpenSim.Region.Environment.Scenes
933 { 924 {
934 foreach (SceneObjectPart part in m_parts.Values) 925 foreach (SceneObjectPart part in m_parts.Values)
935 { 926 {
936 List<ScenePresence> avatars = GetScenePresences(); 927 List<ScenePresence> avatars = Scene.GetScenePresences();
937 for (int i = 0; i < avatars.Count; i++) 928 for (int i = 0; i < avatars.Count; i++)
938 { 929 {
939 if (avatars[i].ParentID == LocalId) 930 if (avatars[i].ParentID == LocalId)