DEBUG DEBUG DEBUG

viewer-2-initial-appearance
Diva Canto 2011-01-17 12:35:19 -08:00
parent 5e35651efc
commit 59c2cd04ba
2 changed files with 5 additions and 1 deletions

View File

@ -839,6 +839,7 @@ namespace OpenSim.Region.Framework.Scenes
m_rootRegionHandle = m_scene.RegionInfo.RegionHandle;
m_scene.EventManager.TriggerSetRootAgentScene(m_uuid, m_scene);
m_log.DebugFormat("[XXX] MakeRoot 1");
// Moved this from SendInitialData to ensure that m_appearance is initialized
// before the inventory is processed in MakeRootAgent. This fixes a race condition
@ -899,6 +900,7 @@ namespace OpenSim.Region.Framework.Scenes
}
AddToPhysicalScene(isFlying);
m_log.DebugFormat("[XXX] MakeRoot 2");
if (m_appearance != null)
{
@ -941,7 +943,9 @@ namespace OpenSim.Region.Framework.Scenes
presence.Animator.SendAnimPackToClient(ControllingClient);
});
m_log.DebugFormat("[XXX] MakeRoot 3");
m_scene.EventManager.TriggerOnMakeRootAgent(this);
m_log.DebugFormat("[XXX] MakeRoot 4");
}
/// <summary>

View File

@ -269,7 +269,7 @@ namespace OpenSim.Services.HypergridService
bool result = m_TravelingAgents[sessionID].ClientIPAddress == reportedIP ||
m_TravelingAgents[sessionID].MyIpAddress == reportedIP; // NATed
m_log.DebugFormat("[USER AGENT SERVICE]: Comparing {0} with login IP {1} and MyIP {1}; result is {3}",
m_log.DebugFormat("[USER AGENT SERVICE]: Comparing {0} with login IP {1} and MyIP {2}; result is {3}",
reportedIP, m_TravelingAgents[sessionID].ClientIPAddress, m_TravelingAgents[sessionID].MyIpAddress, result);
return result;