aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-07-05 00:20:39 +0100
committerJustin Clark-Casey2014-08-02 00:52:25 +0100
commit2a15739935ebffbf9f730fe61f4fedb56e4d2486 (patch)
tree1e372783e693083fd52c4f6dcee6c3f30fb3b79b
parentAdjust "show regions" and "show region" robust service console output to show... (diff)
downloadopensim-SC_OLD-2a15739935ebffbf9f730fe61f4fedb56e4d2486.zip
opensim-SC_OLD-2a15739935ebffbf9f730fe61f4fedb56e4d2486.tar.gz
opensim-SC_OLD-2a15739935ebffbf9f730fe61f4fedb56e4d2486.tar.bz2
opensim-SC_OLD-2a15739935ebffbf9f730fe61f4fedb56e4d2486.tar.xz
Show region size column in simulator version of "show regions" console command
-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 59b4614..1fe5731 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