diff options
author | Justin Clark-Casey (justincc) | 2013-04-02 01:00:55 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-04-02 01:00:55 +0100 |
commit | 69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e (patch) | |
tree | 8f9ba3b8f09332b689679f8947bede5c47f5671f | |
parent | Fix what appears to be a bug in HGUserManagementModule where it enables on th... (diff) | |
download | opensim-SC-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.zip opensim-SC-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.gz opensim-SC-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.bz2 opensim-SC-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.xz |
minor: Remove unnecessary call to GetAttachments() in AttachmentsModule.UpdateUserInventoryWithAttachment()
-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) |