From 2a15739935ebffbf9f730fe61f4fedb56e4d2486 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 5 Jul 2014 00:20:39 +0100 Subject: 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(-) (limited to 'OpenSim/Region') 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 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); } ); -- cgit v1.1