minor: Allow objects to be added directly to a row on a ConsoleDisplayTable rather than having to ToString() them first
parent
ac0f5e75bd
commit
9b0f784c63
|
@ -84,7 +84,7 @@ namespace OpenSim.Framework.Console
|
||||||
Columns.Add(new ConsoleDisplayTableColumn(name, width));
|
Columns.Add(new ConsoleDisplayTableColumn(name, width));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddRow(params string[] cells)
|
public void AddRow(params object[] cells)
|
||||||
{
|
{
|
||||||
Rows.Add(new ConsoleDisplayTableRow(cells));
|
Rows.Add(new ConsoleDisplayTableRow(cells));
|
||||||
}
|
}
|
||||||
|
|
|
@ -189,7 +189,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
|
||||||
int seq = sequenceNumbers[i];
|
int seq = sequenceNumbers[i];
|
||||||
UUID objectId = objectIds[i];
|
UUID objectId = objectIds[i];
|
||||||
|
|
||||||
cdt.Rows.Add(new ConsoleDisplayTableRow(animId, animName, seq, objectId));
|
cdt.AddRow(animId, animName, seq, objectId);
|
||||||
}
|
}
|
||||||
|
|
||||||
cdt.AddToStringBuilder(sb);
|
cdt.AddToStringBuilder(sb);
|
||||||
|
|
Loading…
Reference in New Issue