From c92654fb43f303da8e1623f9fff8a404aad72374 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 28 Mar 2013 23:57:35 +0000
Subject: 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.
---
OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs')
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
void DeleteAttachmentsFromScene(IScenePresence sp, bool silent);
///
- /// Attach an object to an avatar
+ /// Attach an object to an avatar.
///
///
///
///
///
+ /// If true then add object to user inventory
+ /// Append to attachment point rather than replace.
/// true if the object was successfully attached, false otherwise
- bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool temp, bool append);
+ bool AttachObject(IScenePresence sp, SceneObjectGroup grp, uint AttachmentPt, bool silent, bool addToInventory, bool append);
///
/// Rez an attachment from user inventory and change inventory status to match.
--
cgit v1.1