From 46a62a37d13865fa558392c0d72782bb22ddd033 Mon Sep 17 00:00:00 2001 From: Vegaslon Date: Sat, 23 Apr 2016 15:49:28 -0400 Subject: Fix Temporary Attachments not being able to be detached by client Signed-off-by: Melanie Thielker --- OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index d199a35..7380b63 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -1322,7 +1322,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments ScenePresence sp = m_scene.GetScenePresence(remoteClient.AgentId); SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID); - if (sp != null && group != null && group.FromItemID != UUID.Zero) + if (sp != null && group != null) DetachSingleAttachmentToInv(sp, group); } -- cgit v1.1