mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
minor: Remove unnecessary call to GetAttachments() in AttachmentsModule.UpdateUserInventoryWithAttachment()
This commit is contained in:
@@ -434,8 +434,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
|
||||
|
||||
private void UpdateUserInventoryWithAttachment(IScenePresence sp, SceneObjectGroup group, uint attachmentPt, bool append)
|
||||
{
|
||||
List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt);
|
||||
|
||||
// Add the new attachment to inventory if we don't already have it.
|
||||
UUID newAttachmentItemID = group.FromItemID;
|
||||
if (newAttachmentItemID == UUID.Zero)
|
||||
|
||||
Reference in New Issue
Block a user