Reverse a comparison, this is probably the cause of attach issues

This commit is contained in:
Melanie Thielker
2016-04-26 17:43:36 +02:00
parent 61a7566381
commit 6771fb7d5d

View File

@@ -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)
{