Fix "show attachments" command probably broken in commit addab12 (Wed Jan 2 21:38:00 2013)

This break was not connected with the recent attachment code changes.
0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-20 02:00:56 +00:00
parent e50b27047d
commit 9dd7fb8142
1 changed files with 7 additions and 10 deletions

View File

@ -176,16 +176,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
// " {0,-36} {1,-10} {2,-36} {3,-14} {4,-15}\n", // " {0,-36} {1,-10} {2,-36} {3,-14} {4,-15}\n",
// attachmentObject.Name, attachmentObject.LocalId, attachmentObject.FromItemID, // attachmentObject.Name, attachmentObject.LocalId, attachmentObject.FromItemID,
// (AttachmentPoint)attachmentObject.AttachmentPoint, attachmentObject.RootPart.AttachedPos); // (AttachmentPoint)attachmentObject.AttachmentPoint, attachmentObject.RootPart.AttachedPos);
ct.Rows.Add(
new ConsoleDisplayTableRow( ct.AddRow(
new List<string>()
{
attachmentObject.Name, attachmentObject.Name,
attachmentObject.LocalId.ToString(), attachmentObject.LocalId,
attachmentObject.FromItemID.ToString(), attachmentObject.FromItemID,
((AttachmentPoint)attachmentObject.AttachmentPoint).ToString(), ((AttachmentPoint)attachmentObject.AttachmentPoint),
attachmentObject.RootPart.AttachedPos.ToString() attachmentObject.RootPart.AttachedPos);
}));
// } // }
} }