aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-07-05 00:20:39 +0100
committerJustin Clark-Casey (justincc)2014-07-05 00:20:39 +0100
commitb019fd5a95f50e363423c5dbb170f37d657125ed (patch)
treeb0c95c4328ba1b6b6d16d6b81b930f93cabe00c0 /OpenSim
parentAdjust "show regions" and "show region" robust service console output to show... (diff)
downloadopensim-SC-b019fd5a95f50e363423c5dbb170f37d657125ed.zip
opensim-SC-b019fd5a95f50e363423c5dbb170f37d657125ed.tar.gz
opensim-SC-b019fd5a95f50e363423c5dbb170f37d657125ed.tar.bz2
opensim-SC-b019fd5a95f50e363423c5dbb170f37d657125ed.tar.xz
Show region size column in simulator version of "show regions" console command
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 9e4671f..37c648c 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -943,6 +943,7 @@ namespace OpenSim
943 cdt.AddColumn("Name", ConsoleDisplayUtil.RegionNameSize); 943 cdt.AddColumn("Name", ConsoleDisplayUtil.RegionNameSize);
944 cdt.AddColumn("ID", ConsoleDisplayUtil.UuidSize); 944 cdt.AddColumn("ID", ConsoleDisplayUtil.UuidSize);
945 cdt.AddColumn("Position", ConsoleDisplayUtil.CoordTupleSize); 945 cdt.AddColumn("Position", ConsoleDisplayUtil.CoordTupleSize);
946 cdt.AddColumn("Size", 11);
946 cdt.AddColumn("Port", ConsoleDisplayUtil.PortSize); 947 cdt.AddColumn("Port", ConsoleDisplayUtil.PortSize);
947 cdt.AddColumn("Ready?", 6); 948 cdt.AddColumn("Ready?", 6);
948 cdt.AddColumn("Estate", ConsoleDisplayUtil.EstateNameSize); 949 cdt.AddColumn("Estate", ConsoleDisplayUtil.EstateNameSize);
@@ -951,8 +952,13 @@ namespace OpenSim
951 { 952 {
952 RegionInfo ri = scene.RegionInfo; 953 RegionInfo ri = scene.RegionInfo;
953 cdt.AddRow( 954 cdt.AddRow(
954 ri.RegionName, ri.RegionID, string.Format("{0},{1}", ri.RegionLocX, ri.RegionLocY), 955 ri.RegionName,
955 ri.InternalEndPoint.Port, scene.Ready ? "Yes" : "No", ri.EstateSettings.EstateName); 956 ri.RegionID,
957 string.Format("{0},{1}", ri.RegionLocX, ri.RegionLocY),
958 string.Format("{0}x{1}", ri.RegionSizeX, ri.RegionSizeY),
959 ri.InternalEndPoint.Port,
960 scene.Ready ? "Yes" : "No",
961 ri.EstateSettings.EstateName);
956 } 962 }
957 ); 963 );
958 964