From 27512f3b421e5e3b8d3d422fa1485d347926a11d Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 21 Nov 2014 08:54:10 -0800 Subject: [PATCH] Cleanup extraneous comments from viewer support modules --- .../ViewerSupport/SimulatorFeaturesHelper.cs | 12 +++--------- .../OptionalModules/ViewerSupport/SpecialUIModule.cs | 1 - 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs b/OpenSim/Region/OptionalModules/ViewerSupport/SimulatorFeaturesHelper.cs index 825c03189d..266152238c 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) diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs b/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs index 51f60bb026..3fe922df9c 100644 --- a/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs +++ b/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs @@ -146,7 +146,6 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport using (StreamReader s = new StreamReader(name)) { string simple_name = Path.GetFileNameWithoutExtension(name); - m_log.DebugFormat("[XXX]: Reading {0} ({1})", name, simple_name); OSDMap floater = new OSDMap(); floaters[simple_name] = OSDMap.FromString(s.ReadToEnd()); n++;