missing file...
parent
caf298cda3
commit
209cb840a2
|
@ -4045,10 +4045,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
}
|
||||
|
||||
/* useless. Either use MakeChild or delete the presence
|
||||
/* useless. Either use MakeChild or delete the presence
|
||||
public void Reset()
|
||||
{
|
||||
// m_log.DebugFormat("[SCENE PRESENCE]: Resetting {0} in {1}", Name, Scene.RegionInfo.RegionName);
|
||||
// m_log.DebugFormat("[SCENE PRESENCE]: Resetting {0} in {1}", Name, Scene.RegionInfo.RegionName);
|
||||
|
||||
// Put the child agent back at the center
|
||||
AbsolutePosition
|
||||
|
@ -4056,7 +4056,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
Animator.ResetAnimations();
|
||||
}
|
||||
*/
|
||||
*/
|
||||
/// <summary>
|
||||
/// Computes which child agents to close when the scene presence moves to another region.
|
||||
/// Removes those regions from m_knownRegions.
|
||||
|
@ -4064,7 +4064,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
/// <param name="newRegionX">The new region's x on the map</param>
|
||||
/// <param name="newRegionY">The new region's y on the map</param>
|
||||
/// <returns></returns>
|
||||
public void CloseChildAgents(ulong newRegionHandle, int newRegionSizeX, int newRegionSizeY)
|
||||
public void CloseChildAgents(bool logout, ulong newRegionHandle, int newRegionSizeX, int newRegionSizeY)
|
||||
{
|
||||
uint newRegionX, newRegionY;
|
||||
List<ulong> byebyeRegions = new List<ulong>();
|
||||
|
@ -4083,6 +4083,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
// Don't close the agent on this region yet
|
||||
if (handle != Scene.RegionInfo.RegionHandle)
|
||||
{
|
||||
if (logout)
|
||||
byebyeRegions.Add(handle);
|
||||
else
|
||||
{
|
||||
Util.RegionHandleToRegionLoc(handle, out x, out y);
|
||||
if (m_knownChildRegionsSizeInfo.TryGetValue(handle, out regInfo))
|
||||
|
@ -4106,6 +4110,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (byebyeRegions.Count > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue