Add regression test to check that attachments in source region are deleting when an agent teleports to a neighbouring region

This commit is contained in:
Justin Clark-Casey (justincc)
2012-06-26 22:16:44 +01:00
parent 340005c5bf
commit 32a4ce94f0
2 changed files with 122 additions and 20 deletions

View File

@@ -709,6 +709,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
agent.CallbackURI, region.RegionName);
}
/// <summary>
/// Clean up operations once an agent has moved away through cross or teleport.
/// </summary>
/// <param name='sp'></param>
/// <param name='logout'></param>
protected virtual void AgentHasMovedAway(ScenePresence sp, bool logout)
{
if (sp.Scene.AttachmentsModule != null)