diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index eec7ee5..7d16635 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -434,8 +434,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
434 | 434 | ||
435 | private void UpdateUserInventoryWithAttachment(IScenePresence sp, SceneObjectGroup group, uint attachmentPt, bool append) | 435 | private void UpdateUserInventoryWithAttachment(IScenePresence sp, SceneObjectGroup group, uint attachmentPt, bool append) |
436 | { | 436 | { |
437 | List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt); | ||
438 | |||
439 | // Add the new attachment to inventory if we don't already have it. | 437 | // Add the new attachment to inventory if we don't already have it. |
440 | UUID newAttachmentItemID = group.FromItemID; | 438 | UUID newAttachmentItemID = group.FromItemID; |
441 | if (newAttachmentItemID == UUID.Zero) | 439 | if (newAttachmentItemID == UUID.Zero) |