diff options
author | Diva Canto | 2010-06-13 19:18:17 -0700 |
---|---|---|
committer | Diva Canto | 2010-06-13 19:18:17 -0700 |
commit | bd346ab8c7bc8358d467b39dd21070d935a9131b (patch) | |
tree | 20c1fa4361ebacfc9b8c72e2ee3ade1594c5ec72 | |
parent | Fixes the long-standing RegionUp bug! Plus lots of other cleanups related to ... (diff) | |
download | opensim-SC-bd346ab8c7bc8358d467b39dd21070d935a9131b.zip opensim-SC-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.gz opensim-SC-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.bz2 opensim-SC-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.xz |
Fixes attachments coming back upon being detached in neighbouring regions and crossing.
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c1e835e..6c119c2 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3128,6 +3128,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3128 | { | 3128 | { |
3129 | if (cAgent.Attachments != null) | 3129 | if (cAgent.Attachments != null) |
3130 | { | 3130 | { |
3131 | m_appearance.ClearAttachments(); | ||
3131 | foreach (AttachmentData att in cAgent.Attachments) | 3132 | foreach (AttachmentData att in cAgent.Attachments) |
3132 | { | 3133 | { |
3133 | m_appearance.SetAttachment(att.AttachPoint, att.ItemID, att.AssetID); | 3134 | m_appearance.SetAttachment(att.AttachPoint, att.ItemID, att.AssetID); |