diff options
author | Melanie Thielker | 2010-08-24 18:38:54 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-24 18:38:54 +0200 |
commit | 5a05de0eec5cba9500fd4803e2bf2ffb54d92265 (patch) | |
tree | 0fe8f49790904c621f68abfca2afdd54fde5965c | |
parent | Add a method to delete left over / dropped attachments (diff) | |
download | opensim-SC-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.zip opensim-SC-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.gz opensim-SC-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.bz2 opensim-SC-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.xz |
Call attachment cleanup when an agent crosses out
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 0ba67d3..ee07f30 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -446,6 +446,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
446 | // Now let's make it officially a child agent | 446 | // Now let's make it officially a child agent |
447 | sp.MakeChildAgent(); | 447 | sp.MakeChildAgent(); |
448 | 448 | ||
449 | sp.Scene.CleanDroppedAttachments(); | ||
450 | |||
449 | // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone | 451 | // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone |
450 | 452 | ||
451 | if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) | 453 | if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) |