Fixes attachments coming back upon being detached in neighbouring regions and crossing.

soprefactor
Diva Canto 2010-06-13 19:18:17 -07:00
parent 19558f380a
commit bd346ab8c7
1 changed files with 1 additions and 0 deletions

View File

@ -3128,6 +3128,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
if (cAgent.Attachments != null) if (cAgent.Attachments != null)
{ {
m_appearance.ClearAttachments();
foreach (AttachmentData att in cAgent.Attachments) foreach (AttachmentData att in cAgent.Attachments)
{ {
m_appearance.SetAttachment(att.AttachPoint, att.ItemID, att.AssetID); m_appearance.SetAttachment(att.AttachPoint, att.ItemID, att.AssetID);