diff options
-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 3ccf9f4..b6a7481 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -324,7 +324,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
324 | 324 | ||
325 | // Remove any previous attachments | 325 | // Remove any previous attachments |
326 | List<SceneObjectGroup> existingAttachments = sp.GetAttachments(attachmentPt); | 326 | List<SceneObjectGroup> existingAttachments = sp.GetAttachments(attachmentPt); |
327 | string existingAttachmentScriptState = null; | ||
328 | 327 | ||
329 | // At the moment we can only deal with a single attachment | 328 | // At the moment we can only deal with a single attachment |
330 | if (existingAttachments.Count != 0 && existingAttachments[0].FromItemID != UUID.Zero) | 329 | if (existingAttachments.Count != 0 && existingAttachments[0].FromItemID != UUID.Zero) |
@@ -849,7 +848,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
849 | 848 | ||
850 | // Remove any previous attachments | 849 | // Remove any previous attachments |
851 | List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt); | 850 | List<SceneObjectGroup> attachments = sp.GetAttachments(attachmentPt); |
852 | string previousAttachmentScriptedState = null; | ||
853 | 851 | ||
854 | // At the moment we can only deal with a single attachment | 852 | // At the moment we can only deal with a single attachment |
855 | if (attachments.Count != 0) | 853 | if (attachments.Count != 0) |