aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorlbsa712007-09-20 13:04:51 +0000
committerlbsa712007-09-20 13:04:51 +0000
commit7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9 (patch)
tree866c1cf215fddc3404181c679783f903c925e000 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parent* moved SceneManager to RegionApplicationBase (diff)
downloadopensim-SC_OLD-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.zip
opensim-SC_OLD-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.gz
opensim-SC_OLD-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.bz2
opensim-SC_OLD-7335e5710bd0c22c9e5bd9fa0b576d0985d2fba9.tar.xz
Rev 1971 : The Lbsa71 vintage commit
* Refactored to prepare for some serious restructuring
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index efd682f..c63424a 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -136,7 +136,7 @@ namespace OpenSim.Region.Environment.Scenes
136 Entities.Add(copy.UUID, copy); 136 Entities.Add(copy.UUID, copy);
137 137
138 copy.ScheduleGroupForFullUpdate(); 138 copy.ScheduleGroupForFullUpdate();
139 /* List<ScenePresence> avatars = this.RequestAvatarList(); 139 /* List<ScenePresence> avatars = this.GetScenePresences();
140 for (int i = 0; i < avatars.Count; i++) 140 for (int i = 0; i < avatars.Count; i++)
141 { 141 {
142 // copy.SendAllChildPrimsToClient(avatars[i].ControllingClient); 142 // copy.SendAllChildPrimsToClient(avatars[i].ControllingClient);
@@ -506,11 +506,10 @@ namespace OpenSim.Region.Environment.Scenes
506 506
507 public void StartAnimation(IClientAPI client, LLUUID animID, int seq) 507 public void StartAnimation(IClientAPI client, LLUUID animID, int seq)
508 { 508 {
509 List<ScenePresence> avatars = RequestAvatarList(); 509 ForEachScenePresence(delegate(ScenePresence presence)
510 for (int i = 0; i < avatars.Count; i++) 510 {
511 { 511 presence.ControllingClient.SendAnimation(animID, seq, client.AgentId);
512 avatars[i].ControllingClient.SendAnimation(animID, seq, client.AgentId); 512 });
513 }
514 } 513 }
515 514
516 public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) 515 public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient)