aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-02 22:11:13 +0000
committerJustin Clark-Casey (justincc)2013-01-04 00:46:58 +0000
commitafcf5a7591100653bcd43ae149f35b6797431465 (patch)
tree328f86dd8b4ff902bc88b5a03633a04ae20cc7be
parentImplemented Return Objects when it's invoked from the Top Colliders or Top Sc... (diff)
downloadopensim-SC_OLD-afcf5a7591100653bcd43ae149f35b6797431465.zip
opensim-SC_OLD-afcf5a7591100653bcd43ae149f35b6797431465.tar.gz
opensim-SC_OLD-afcf5a7591100653bcd43ae149f35b6797431465.tar.bz2
opensim-SC_OLD-afcf5a7591100653bcd43ae149f35b6797431465.tar.xz
minor: Allow objects to be added directly to a row on a ConsoleDisplayTable rather than having to ToString() them first
-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);