Revert "change position of OnAttach event firing so that this also happens when a user teleports into a region"

The behavior introduced here is not compatible with SL

This reverts commit b6bee4999c.
This commit is contained in:
Melanie
2010-02-04 17:11:06 +00:00
parent b9c3846e81
commit 2953bee1f4
2 changed files with 15 additions and 17 deletions

View File

@@ -627,10 +627,11 @@ namespace OpenSim.Region.Framework.Scenes
}
m_parentScene.AttachObject(remoteClient, AttachmentPt, itemId, group);
group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos, silent);
// In case it is later dropped again, don't let
// it get cleaned up
//
group.RootPart.RemFlag(PrimFlags.TemporaryOnRez);
group.HasGroupChanged = false;
}