Get "show region" command in GridService to show grid co-ordinates rather than meters co-ord.

This makes it consistent with "show regions"
Addresses http://opensimulator.org/mantis/view.php?id=5619
bulletsim
Justin Clark-Casey (justincc) 2011-08-05 22:56:53 +01:00
parent 7d35bf8193
commit f18780d0e3
1 changed files with 3 additions and 2 deletions

View File

@ -510,8 +510,9 @@ namespace OpenSim.Services.GridService
OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]);
MainConsole.Instance.Output(String.Format("{0,-20} {1}\n{2,-20} {3}\n{4,-39} {5}\n\n",
r.RegionName, r.RegionID,
String.Format("{0},{1}", r.posX, r.posY), r.Data["serverURI"],
r.Data["owner_uuid"].ToString(), flags.ToString()));
String.Format("{0},{1}", r.posX / Constants.RegionSize, r.posY / Constants.RegionSize),
r.Data["serverURI"],
r.Data["owner_uuid"], flags));
}
return;
}