mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Cleanup extraneous comments from viewer support modules
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user