From 6d3d985511a8e70624c3a06a042890002f223978 Mon Sep 17 00:00:00 2001 From: Teravus Ovares (Dan Olivares) Date: Thu, 15 Oct 2009 02:01:29 -0400 Subject: * Request from lkalif to have the Sim send a coarselocationupdate for each avatar in the sim, including yourself. * Apparently the LLClientView should have been doing this previously.. Also fixed the 'You' on the index block.. so the client doesn't display an extra green dot. * Thanks lkalif for bringing it to our attention. --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2a06f9e..646a483 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -2507,8 +2507,9 @@ namespace OpenSim.Region.Framework.Scenes List avatars = m_scene.GetAvatars(); for (int i = 0; i < avatars.Count; i++) { - if (avatars[i] != this) - { + // Requested by LibOMV. Send Course Location on self. + //if (avatars[i] != this) + //{ if (avatars[i].ParentID != 0) { // sitting avatar @@ -2530,7 +2531,7 @@ namespace OpenSim.Region.Framework.Scenes CoarseLocations.Add(avatars[i].m_pos); AvatarUUIDs.Add(avatars[i].UUID); } - } + //} } m_controllingClient.SendCoarseLocationUpdate(AvatarUUIDs, CoarseLocations); -- cgit v1.1