aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorDiva Canto2010-06-13 19:18:17 -0700
committerDiva Canto2010-06-13 19:18:17 -0700
commitbd346ab8c7bc8358d467b39dd21070d935a9131b (patch)
tree20c1fa4361ebacfc9b8c72e2ee3ade1594c5ec72 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentFixes the long-standing RegionUp bug! Plus lots of other cleanups related to ... (diff)
downloadopensim-SC_OLD-bd346ab8c7bc8358d467b39dd21070d935a9131b.zip
opensim-SC_OLD-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.gz
opensim-SC_OLD-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.bz2
opensim-SC_OLD-bd346ab8c7bc8358d467b39dd21070d935a9131b.tar.xz
Fixes attachments coming back upon being detached in neighbouring regions and crossing.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs1
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);