aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-04-02 01:00:55 +0100
committerJustin Clark-Casey (justincc)2013-04-02 01:00:55 +0100
commit69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e (patch)
tree8f9ba3b8f09332b689679f8947bede5c47f5671f /OpenSim/Region
parentFix what appears to be a bug in HGUserManagementModule where it enables on th... (diff)
downloadopensim-SC_OLD-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.zip
opensim-SC_OLD-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.gz
opensim-SC_OLD-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.bz2
opensim-SC_OLD-69bc37acd66e9ac9938d4a657dc6b9a0ba9f021e.tar.xz
minor: Remove unnecessary call to GetAttachments() in AttachmentsModule.UpdateUserInventoryWithAttachment()
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs2
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)