aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Attachments
diff options
context:
space:
mode:
authorMelanie2013-03-08 01:07:05 +0000
committerMelanie2013-03-08 01:07:05 +0000
commit70f0587558a30d61b311af8de6aa8baeb7a498f8 (patch)
tree9a9b09125f0b6cdd54ac1874fda2b39851d465a0 /OpenSim/Region/CoreModules/Avatar/Attachments
parent* Separate two if trees that got merged into one if tree with borked logic. (diff)
parent* Just another one of those new packet blocks causing a null ref. Defaultin... (diff)
downloadopensim-SC_OLD-70f0587558a30d61b311af8de6aa8baeb7a498f8.zip
opensim-SC_OLD-70f0587558a30d61b311af8de6aa8baeb7a498f8.tar.gz
opensim-SC_OLD-70f0587558a30d61b311af8de6aa8baeb7a498f8.tar.bz2
opensim-SC_OLD-70f0587558a30d61b311af8de6aa8baeb7a498f8.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments')
-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 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)