Fix indenting on ConsoleDisplayTable, align indenting on "show animations" console command
parent
2db1f22b89
commit
8f31649fad
|
@ -56,7 +56,7 @@ namespace OpenSim.Framework.Console
|
||||||
public List<ConsoleDisplayTableRow> Rows { get; private set; }
|
public List<ConsoleDisplayTableRow> Rows { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Number of spaces to indent the table.
|
/// Number of spaces to indent the whole table.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int Indent { get; set; }
|
public int Indent { get; set; }
|
||||||
|
|
||||||
|
@ -113,6 +113,7 @@ namespace OpenSim.Framework.Console
|
||||||
|
|
||||||
for (int i = 0; i < Columns.Count; i++)
|
for (int i = 0; i < Columns.Count; i++)
|
||||||
{
|
{
|
||||||
|
if (i != 0)
|
||||||
formatSb.Append(' ', TableSpacing);
|
formatSb.Append(' ', TableSpacing);
|
||||||
|
|
||||||
// Can only do left formatting for now
|
// Can only do left formatting for now
|
||||||
|
|
|
@ -149,7 +149,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
|
||||||
{
|
{
|
||||||
sb.AppendFormat("Animations for {0}\n", sp.Name);
|
sb.AppendFormat("Animations for {0}\n", sp.Name);
|
||||||
|
|
||||||
ConsoleDisplayList cdl = new ConsoleDisplayList();
|
ConsoleDisplayList cdl = new ConsoleDisplayList() { Indent = 2 };
|
||||||
ScenePresenceAnimator spa = sp.Animator;
|
ScenePresenceAnimator spa = sp.Animator;
|
||||||
AnimationSet anims = sp.Animator.Animations;
|
AnimationSet anims = sp.Animator.Animations;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue