From 27512f3b421e5e3b8d3d422fa1485d347926a11d Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 21 Nov 2014 08:54:10 -0800 Subject: Cleanup extraneous comments from viewer support modules --- .../OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs') diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs b/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs index 825c031..2661522 100644 --- a/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs +++ b/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs @@ -102,11 +102,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport { ScenePresence sp = WaitGetScenePresence(agentID); - if (sp == null) // Client is connected but SP still doesn't exist: this may happen on login - { - m_log.DebugFormat("[XXX]: SP is null"); - } - else + if (sp != null) { // On the receiving region, the call to this cap may arrive before // the agent is root. Make sure we only proceed from here when the agent @@ -122,13 +118,11 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport // The agent must be root and not going anywhere if (!sp.IsChildAgent && !m_TransferModule.IsInTransit(agentID)) rsend.send = true; - else - m_log.DebugFormat("[XXX]: Child or in transit"); } } - else - m_log.DebugFormat("[XXX]: client is null"); + //else + // m_log.DebugFormat("[XXX]: client is null"); if (rsendlist == null) -- cgit v1.1