mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user