diff options
author | Melanie Thielker | 2016-04-26 17:43:36 +0200 |
---|---|---|
committer | Melanie Thielker | 2016-04-26 17:43:36 +0200 |
commit | 6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94 (patch) | |
tree | 434775e67a6ceaf0e98052044b25004f879ab3dc /OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |
parent | Fire detach events even in temp attachments. They don't really need it but ke... (diff) | |
download | opensim-SC_OLD-6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94.zip opensim-SC_OLD-6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94.tar.gz opensim-SC_OLD-6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94.tar.bz2 opensim-SC_OLD-6771fb7d5df9a8ee4dbaf869df26f6b7abeb5b94.tar.xz |
Reverse a comparison, this is probably the cause of attach issues
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
777 | 777 | ||
778 | // If this didn't come from inventory, it also shouldn't go there | 778 | // If this didn't come from inventory, it also shouldn't go there |
779 | // on detach. It's likely a temp attachment. | 779 | // on detach. It's likely a temp attachment. |
780 | if (so.FromItemID != UUID.Zero) | 780 | if (so.FromItemID == UUID.Zero) |
781 | { | 781 | { |
782 | lock (sp.AttachmentsSyncLock) | 782 | lock (sp.AttachmentsSyncLock) |
783 | { | 783 | { |