aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-03-28 23:57:35 +0000
committerJustin Clark-Casey (justincc)2013-03-28 23:57:35 +0000
commitc92654fb43f303da8e1623f9fff8a404aad72374 (patch)
tree0da006460864b09b78c89fca4fc74d88895a81db /OpenSim/Region/Framework
parentAdd "debug attachments" console command to allow highly verbose attachment lo... (diff)
downloadopensim-SC_OLD-c92654fb43f303da8e1623f9fff8a404aad72374.zip
opensim-SC_OLD-c92654fb43f303da8e1623f9fff8a404aad72374.tar.gz
opensim-SC_OLD-c92654fb43f303da8e1623f9fff8a404aad72374.tar.bz2
opensim-SC_OLD-c92654fb43f303da8e1623f9fff8a404aad72374.tar.xz
Stop attempts to update/add existing attachments in user inventory when teleporting between regions.
This appears to resolve issues on teleport where attachments disappear or become labelled as invalid within user inventory.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index 156a09d..d9901bd 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -80,14 +80,16 @@ namespace OpenSim.Region.Framework.Interfaces
80 void DeleteAttachmentsFromScene(IScenePresence sp, bool silent); 80 void DeleteAttachmentsFromScene(IScenePresence sp, bool silent);
81 81
82 /// <summary> 82 /// <summary>
83 /// Attach an object to an avatar 83 /// Attach an object to an avatar.
84 /// </summary> 84 /// </summary>
85 /// <param name="sp"></param> 85 /// <param name="sp"></param>
86 /// <param name="grp"></param> 86 /// <param name="grp"></param>
87 /// <param name="AttachmentPt"></param> 87 /// <param name="AttachmentPt"></param>
88 /// <param name="silent"></param> 88 /// <param name="silent"></param>
89 /// <param name="addToInventory">If true then add object to user inventory</param>
90 /// <param name="append">Append to attachment point rather than replace.</param>
89 /// <returns>true if the object was successfully attached, false otherwise</returns> 91 /// <returns>true if the object was successfully attached, false otherwise</returns>
90 bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool temp, bool append); 92 bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool addToInventory, bool append);
91 93
92 /// <summary> 94 /// <summary>
93 /// Rez an attachment from user inventory and change inventory status to match. 95 /// Rez an attachment from user inventory and change inventory status to match.