From 6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 26 Apr 2016 17:43:36 +0200 Subject: Reverse a comparison, this is probably the cause of attach issues --- 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 3b13e3f..f4e1eae 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -777,7 +777,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments // If this didn't come from inventory, it also shouldn't go there // on detach. It's likely a temp attachment. - if (so.FromItemID != UUID.Zero) + if (so.FromItemID == UUID.Zero) { lock (sp.AttachmentsSyncLock) { -- cgit v1.1