aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-24 18:38:54 +0200
committerMelanie Thielker2010-08-24 18:38:54 +0200
commit5a05de0eec5cba9500fd4803e2bf2ffb54d92265 (patch)
tree0fe8f49790904c621f68abfca2afdd54fde5965c /OpenSim
parentAdd a method to delete left over / dropped attachments (diff)
downloadopensim-SC_OLD-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.zip
opensim-SC_OLD-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.gz
opensim-SC_OLD-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.bz2
opensim-SC_OLD-5a05de0eec5cba9500fd4803e2bf2ffb54d92265.tar.xz
Call attachment cleanup when an agent crosses out
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
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))