diff options
author | Justin Clark-Casey (justincc) | 2012-06-26 22:16:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-26 22:16:44 +0100 |
commit | 32a4ce94f0b896eff0ca5b91b30714e776132acf (patch) | |
tree | 4c68808014e55b15adb5fa631dca4753dd71ff4f /OpenSim/Region/CoreModules/Framework/EntityTransfer | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-32a4ce94f0b896eff0ca5b91b30714e776132acf.zip opensim-SC-32a4ce94f0b896eff0ca5b91b30714e776132acf.tar.gz opensim-SC-32a4ce94f0b896eff0ca5b91b30714e776132acf.tar.bz2 opensim-SC-32a4ce94f0b896eff0ca5b91b30714e776132acf.tar.xz |
Add regression test to check that attachments in source region are deleting when an agent teleports to a neighbouring region
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index f5ebe97..46738f6 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -709,6 +709,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
709 | agent.CallbackURI, region.RegionName); | 709 | agent.CallbackURI, region.RegionName); |
710 | } | 710 | } |
711 | 711 | ||
712 | /// <summary> | ||
713 | /// Clean up operations once an agent has moved away through cross or teleport. | ||
714 | /// </summary> | ||
715 | /// <param name='sp'></param> | ||
716 | /// <param name='logout'></param> | ||
712 | protected virtual void AgentHasMovedAway(ScenePresence sp, bool logout) | 717 | protected virtual void AgentHasMovedAway(ScenePresence sp, bool logout) |
713 | { | 718 | { |
714 | if (sp.Scene.AttachmentsModule != null) | 719 | if (sp.Scene.AttachmentsModule != null) |