* Adding log debugging messages and making others more explicit

* This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue
* For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
This commit is contained in:
Justin Clarke Casey
2008-03-19 19:25:10 +00:00
parent 8d5bcc9da1
commit 2b78c40d89
2 changed files with 36 additions and 9 deletions

View File

@@ -724,9 +724,15 @@ namespace OpenSim.Region.Environment.Scenes
{
if (!presence.IsChildAgent)
{
avatar = presence;
avatar = presence;
return true;
}
else
{
m_log.WarnFormat(
"[INNER SCENE]: Requested avatar {0} could not be found in scene {1} since it is only registered as a child agent!",
avatarId, m_parentScene.RegionInfo.RegionName);
}
}
avatar = null;