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.
user_profiles
Justin Clark-Casey (justincc) 2013-03-20 02:00:56 +00:00
parent 3cb1c23554
commit c0ff5635ba
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",
// attachmentObject.Name, attachmentObject.LocalId, attachmentObject.FromItemID,
// (AttachmentPoint)attachmentObject.AttachmentPoint, attachmentObject.RootPart.AttachedPos);
ct.Rows.Add(
new ConsoleDisplayTableRow(
new List<string>()
{
attachmentObject.Name,
attachmentObject.LocalId.ToString(),
attachmentObject.FromItemID.ToString(),
((AttachmentPoint)attachmentObject.AttachmentPoint).ToString(),
attachmentObject.RootPart.AttachedPos.ToString()
}));
ct.AddRow(
attachmentObject.Name,
attachmentObject.LocalId,
attachmentObject.FromItemID,
((AttachmentPoint)attachmentObject.AttachmentPoint),
attachmentObject.RootPart.AttachedPos);
// }
}