aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarAppearance.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/AvatarAppearance.cs')
-rw-r--r--OpenSim/Framework/AvatarAppearance.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs
index 3874c47..72c6bfc 100644
--- a/OpenSim/Framework/AvatarAppearance.cs
+++ b/OpenSim/Framework/AvatarAppearance.cs
@@ -536,6 +536,12 @@ namespace OpenSim.Framework
536 if (!m_attachments.ContainsKey(attach.AttachPoint)) 536 if (!m_attachments.ContainsKey(attach.AttachPoint))
537 m_attachments[attach.AttachPoint] = new List<AvatarAttachment>(); 537 m_attachments[attach.AttachPoint] = new List<AvatarAttachment>();
538 538
539 foreach (AvatarAttachment prev in m_attachments[attach.AttachPoint])
540 {
541 if (prev.ItemID == attach.ItemID)
542 return;
543 }
544
539 m_attachments[attach.AttachPoint].Add(attach); 545 m_attachments[attach.AttachPoint].Add(attach);
540 } 546 }
541 } 547 }