From b019fd5a95f50e363423c5dbb170f37d657125ed Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sat, 5 Jul 2014 00:20:39 +0100 Subject: [PATCH] Show region size column in simulator version of "show regions" console command --- OpenSim/Region/Application/OpenSim.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 9e4671fae8..37c648c8e5 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -943,6 +943,7 @@ namespace OpenSim cdt.AddColumn("Name", ConsoleDisplayUtil.RegionNameSize); cdt.AddColumn("ID", ConsoleDisplayUtil.UuidSize); cdt.AddColumn("Position", ConsoleDisplayUtil.CoordTupleSize); + cdt.AddColumn("Size", 11); cdt.AddColumn("Port", ConsoleDisplayUtil.PortSize); cdt.AddColumn("Ready?", 6); cdt.AddColumn("Estate", ConsoleDisplayUtil.EstateNameSize); @@ -951,8 +952,13 @@ namespace OpenSim { RegionInfo ri = scene.RegionInfo; cdt.AddRow( - ri.RegionName, ri.RegionID, string.Format("{0},{1}", ri.RegionLocX, ri.RegionLocY), - ri.InternalEndPoint.Port, scene.Ready ? "Yes" : "No", ri.EstateSettings.EstateName); + ri.RegionName, + ri.RegionID, + string.Format("{0},{1}", ri.RegionLocX, ri.RegionLocY), + string.Format("{0}x{1}", ri.RegionSizeX, ri.RegionSizeY), + ri.InternalEndPoint.Port, + scene.Ready ? "Yes" : "No", + ri.EstateSettings.EstateName); } );