Call the Cleanup when an agent logs out, when an agent leaves and just
before an agent logs in directly. Intentionally not calling this from MakeRoot as that would mess up attachment transfer in teleportavinationmerge
parent
5a05de0eec
commit
512a13dbe7
|
@ -3199,6 +3199,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
m_log.Debug("[Scene] Beginning ClientClosed");
|
||||
m_eventManager.TriggerClientClosed(agentID, this);
|
||||
m_log.Debug("[Scene] Finished ClientClosed");
|
||||
CleanDroppedAttachments();
|
||||
}
|
||||
catch (NullReferenceException)
|
||||
{
|
||||
|
@ -3442,6 +3443,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
if (vialogin)
|
||||
{
|
||||
CleanDroppedAttachments();
|
||||
|
||||
if (TestBorderCross(agent.startpos, Cardinals.E))
|
||||
{
|
||||
Border crossedBorder = GetCrossedBorder(agent.startpos, Cardinals.E);
|
||||
|
|
Loading…
Reference in New Issue