mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Merge branch 'hg16' into mantis5110
This commit is contained in:
@@ -3738,9 +3738,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// We have to wait until the viewer contacts this region after receiving EAC.
|
||||
// That calls AddNewClient, which finally creates the ScenePresence
|
||||
m_log.Debug("ICADU -> pre wait");
|
||||
ScenePresence childAgentUpdate = WaitGetScenePresence(cAgentData.AgentID);
|
||||
m_log.Debug("ICADU -> post wait");
|
||||
if (childAgentUpdate != null)
|
||||
{
|
||||
m_log.Debug("ICADU -> not child agent!");
|
||||
childAgentUpdate.ChildAgentDataUpdate(cAgentData);
|
||||
return true;
|
||||
}
|
||||
@@ -3756,7 +3759,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <returns>true if we handled it.</returns>
|
||||
public virtual bool IncomingChildAgentDataUpdate(AgentPosition cAgentData)
|
||||
{
|
||||
//m_log.Debug(" XXX Scene IncomingChildAgentDataUpdate POSITION in " + RegionInfo.RegionName);
|
||||
m_log.Debug(" XXX Scene IncomingChildAgentDataUpdate POSITION in " + RegionInfo.RegionName);
|
||||
ScenePresence childAgentUpdate = GetScenePresence(cAgentData.AgentID);
|
||||
if (childAgentUpdate != null)
|
||||
{
|
||||
|
||||
@@ -2925,7 +2925,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void ChildAgentDataUpdate(AgentData cAgentData)
|
||||
{
|
||||
//m_log.Debug(" >>> ChildAgentDataUpdate <<< " + Scene.RegionInfo.RegionName);
|
||||
m_log.Debug(" >>> ChildAgentDataUpdate <<< " + Scene.RegionInfo.RegionName);
|
||||
if (!IsChildAgent)
|
||||
return;
|
||||
|
||||
@@ -2976,6 +2976,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void CopyTo(AgentData cAgent)
|
||||
{
|
||||
cAgent.CallbackURI = m_callbackURI;
|
||||
|
||||
cAgent.AgentID = UUID;
|
||||
cAgent.RegionID = Scene.RegionInfo.RegionID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user