aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-02 22:37:50 +0000
committerJustin Clark-Casey (justincc)2013-01-02 22:37:50 +0000
commit8f31649faddfc2f7a28131f592b1e79ae75b863f (patch)
tree6be39f6d737792da1f32d523f2c9b01b460666a4
parentminor: minor code and log formatting fixes to recent changes in LandManagemen... (diff)
downloadopensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.zip
opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.tar.gz
opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.tar.bz2
opensim-SC-8f31649faddfc2f7a28131f592b1e79ae75b863f.tar.xz
Fix indenting on ConsoleDisplayTable, align indenting on "show animations" console command
-rw-r--r--OpenSim/Framework/Console/ConsoleDisplayTable.cs5
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs2
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/Console/ConsoleDisplayTable.cs b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
index 0d22206..711a337 100644
--- a/OpenSim/Framework/Console/ConsoleDisplayTable.cs
+++ b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
@@ -56,7 +56,7 @@ namespace OpenSim.Framework.Console
56 public List<ConsoleDisplayTableRow> Rows { get; private set; } 56 public List<ConsoleDisplayTableRow> Rows { get; private set; }
57 57
58 /// <summary> 58 /// <summary>
59 /// Number of spaces to indent the table. 59 /// Number of spaces to indent the whole table.
60 /// </summary> 60 /// </summary>
61 public int Indent { get; set; } 61 public int Indent { get; set; }
62 62
@@ -113,7 +113,8 @@ namespace OpenSim.Framework.Console
113 113
114 for (int i = 0; i < Columns.Count; i++) 114 for (int i = 0; i < Columns.Count; i++)
115 { 115 {
116 formatSb.Append(' ', TableSpacing); 116 if (i != 0)
117 formatSb.Append(' ', TableSpacing);
117 118
118 // Can only do left formatting for now 119 // Can only do left formatting for now
119 formatSb.AppendFormat("{{{0},-{1}}}", i, Columns[i].Width); 120 formatSb.AppendFormat("{{{0},-{1}}}", i, Columns[i].Width);
diff --git a/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs b/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
index ffef912..e951d9e 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
@@ -149,7 +149,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
149 { 149 {
150 sb.AppendFormat("Animations for {0}\n", sp.Name); 150 sb.AppendFormat("Animations for {0}\n", sp.Name);
151 151
152 ConsoleDisplayList cdl = new ConsoleDisplayList(); 152 ConsoleDisplayList cdl = new ConsoleDisplayList() { Indent = 2 };
153 ScenePresenceAnimator spa = sp.Animator; 153 ScenePresenceAnimator spa = sp.Animator;
154 AnimationSet anims = sp.Animator.Animations; 154 AnimationSet anims = sp.Animator.Animations;
155 155