aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-02 22:11:13 +0000
committerJustin Clark-Casey (justincc)2013-01-02 22:11:13 +0000
commit6b55f5183787fb719c7bd4547e5894096a7aed51 (patch)
tree328f86dd8b4ff902bc88b5a03633a04ae20cc7be
parentImplemented Return Objects when it's invoked from the Top Colliders or Top Sc... (diff)
downloadopensim-SC_OLD-6b55f5183787fb719c7bd4547e5894096a7aed51.zip
opensim-SC_OLD-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.gz
opensim-SC_OLD-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.bz2
opensim-SC_OLD-6b55f5183787fb719c7bd4547e5894096a7aed51.tar.xz
minor: Allow objects to be added directly to a row on a ConsoleDisplayTable rather than having to ToString() them first
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Console/ConsoleDisplayTable.cs2
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleDisplayTable.cs b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
index c6f2272..0d22206 100644
--- a/OpenSim/Framework/Console/ConsoleDisplayTable.cs
+++ b/OpenSim/Framework/Console/ConsoleDisplayTable.cs
@@ -84,7 +84,7 @@ namespace OpenSim.Framework.Console
84 Columns.Add(new ConsoleDisplayTableColumn(name, width)); 84 Columns.Add(new ConsoleDisplayTableColumn(name, width));
85 } 85 }
86 86
87 public void AddRow(params string[] cells) 87 public void AddRow(params object[] cells)
88 { 88 {
89 Rows.Add(new ConsoleDisplayTableRow(cells)); 89 Rows.Add(new ConsoleDisplayTableRow(cells));
90 } 90 }
diff --git a/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs b/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
index 2d418f1..ffef912 100644
--- a/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/Animations/AnimationsCommandModule.cs
@@ -189,7 +189,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
189 int seq = sequenceNumbers[i]; 189 int seq = sequenceNumbers[i];
190 UUID objectId = objectIds[i]; 190 UUID objectId = objectIds[i];
191 191
192 cdt.Rows.Add(new ConsoleDisplayTableRow(animId, animName, seq, objectId)); 192 cdt.AddRow(animId, animName, seq, objectId);
193 } 193 }
194 194
195 cdt.AddToStringBuilder(sb); 195 cdt.AddToStringBuilder(sb);