Call attachment cleanup when an agent crosses out

This commit is contained in:
Melanie Thielker
2010-08-24 18:38:54 +02:00
committed by Melanie
parent 2317b6767b
commit d8fffd0fb5

View File

@@ -459,6 +459,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
// Now let's make it officially a child agent
sp.MakeChildAgent();
sp.Scene.CleanDroppedAttachments();
// Finally, let's close this previously-known-as-root agent, when the jump is outside the view zone
if (NeedsClosing(oldRegionX, newRegionX, oldRegionY, newRegionY, reg))