aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-24 18:38:54 +0200
committerMelanie2010-11-08 02:37:00 +0000
commitd8fffd0fb573d7ca27c1eac311c11b969190ce23 (patch)
tree03cc04c69ae0ff6abaad4beb51d907998676ac66 /OpenSim
parentAdd a method to delete left over / dropped attachments (diff)
downloadopensim-SC_OLD-d8fffd0fb573d7ca27c1eac311c11b969190ce23.zip
opensim-SC_OLD-d8fffd0fb573d7ca27c1eac311c11b969190ce23.tar.gz
opensim-SC_OLD-d8fffd0fb573d7ca27c1eac311c11b969190ce23.tar.bz2
opensim-SC_OLD-d8fffd0fb573d7ca27c1eac311c11b969190ce23.tar.xz
Call attachment cleanup when an agent crosses out
Diffstat (limited to '')
-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 485e05a..b5cab84 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -459,6 +459,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
459 // Now let's make it officially a child agent 459 // Now let's make it officially a child agent
460 sp.MakeChildAgent(); 460 sp.MakeChildAgent();
461 461
462 sp.Scene.CleanDroppedAttachments();
463
462 // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone 464 // Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone
463 465
464 if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg)) 466 if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg))