From e0c6bfa81e842f4ba1534882c6d76a3e6e94d68b Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 15 Aug 2014 21:46:28 +0100 Subject: If a user moves back in sight of a child region before the agent has been closed on teleport, don't unnecessarily resend all avatar and object data about that region. --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 272fa16..ebbc6f3 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -286,9 +286,6 @@ namespace OpenSim.Region.Framework.Scenes } } - /// - /// Set if initial data about the scene (avatars, objects) has been sent to the ControllingClient. - /// public bool SentInitialDataToClient { get; private set; } /// @@ -3351,9 +3348,9 @@ namespace OpenSim.Region.Framework.Scenes // Send all scene object to the new client Util.RunThreadNoTimeout(delegate { - m_log.DebugFormat( - "[SCENE PRESENCE]: Sending initial data to {0} agent {1} in {2}, tp flags {3}", - IsChildAgent ? "child" : "root", Name, Scene.Name, m_teleportFlags); +// m_log.DebugFormat( +// "[SCENE PRESENCE]: Sending initial data to {0} agent {1} in {2}, tp flags {3}", +// IsChildAgent ? "child" : "root", Name, Scene.Name, m_teleportFlags); // we created a new ScenePresence (a new child agent) in a fresh region. // Request info about all the (root) agents in this region -- cgit v1.1