minor: Allow objects to be added directly to a row on a ConsoleDisplayTable rather than having to ToString() them first

0.7.5-pf-bulletsim
Justin Clark-Casey (justincc) 2013-01-02 22:11:13 +00:00
parent 39d2cafb5c
commit afcf5a7591
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ namespace OpenSim.Framework.Console
Columns.Add(new ConsoleDisplayTableColumn(name, width));
}
public void AddRow(params string[] cells)
public void AddRow(params object[] cells)
{
Rows.Add(new ConsoleDisplayTableRow(cells));
}

View File

@ -189,7 +189,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
int seq = sequenceNumbers[i];
UUID objectId = objectIds[i];
cdt.Rows.Add(new ConsoleDisplayTableRow(animId, animName, seq, objectId));
cdt.AddRow(animId, animName, seq, objectId);
}
cdt.AddToStringBuilder(sb);