diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs')
-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 71945c5..a0a7a68 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -339,7 +339,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
339 | 339 | ||
340 | // Remove any previous attachments | 340 | // Remove any previous attachments |
341 | List<SceneObjectGroup> existingAttachments = sp.GetAttachments(attachmentPt); | 341 | List<SceneObjectGroup> existingAttachments = sp.GetAttachments(attachmentPt); |
342 | string existingAttachmentScriptState = null; | ||
343 | 342 | ||
344 | // At the moment we can only deal with a single attachment | 343 | // At the moment we can only deal with a single attachment |
345 | if (existingAttachments.Count != 0 && existingAttachments[0].FromItemID != UUID.Zero) | 344 | if (existingAttachments.Count != 0 && existingAttachments[0].FromItemID != UUID.Zero) |
@@ -881,7 +880,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
881 | } | 880 | } |
882 | 881 | ||
883 | List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt); | 882 | List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt); |
884 | string previousAttachmentScriptedState = null; | ||
885 | 883 | ||
886 | // If we already have 5, remove the oldest until only 4 are left. Skip over temp ones | 884 | // If we already have 5, remove the oldest until only 4 are left. Skip over temp ones |
887 | while (attachments.Count >= 5) | 885 | while (attachments.Count >= 5) |