Added checks for failed UpdateAgent calls.

This commit is contained in:
Diva Canto
2010-06-12 12:08:45 -07:00
parent b9c01a1c42
commit 66619b5996
2 changed files with 31 additions and 17 deletions

View File

@@ -3903,6 +3903,8 @@ namespace OpenSim.Region.Framework.Scenes
m_log.DebugFormat(
"[SCENE]: Incoming child agent update for {0} in {1}", cAgentData.AgentID, RegionInfo.RegionName);
// XPTO: if this agent is not allowed here as root, always return false
// We have to wait until the viewer contacts this region after receiving EAC.
// That calls AddNewClient, which finally creates the ScenePresence
ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID);