aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-05 22:56:53 +0100
committerJustin Clark-Casey (justincc)2011-08-05 22:56:53 +0100
commitf18780d0e3a6e5130b1c1d86c71630801dc70c57 (patch)
tree07a368ddfa4f3451a07ccf5d60a535dd6d56c34f /OpenSim/Services
parentrefactor: remove a sliver of unnecessary code (diff)
downloadopensim-SC-f18780d0e3a6e5130b1c1d86c71630801dc70c57.zip
opensim-SC-f18780d0e3a6e5130b1c1d86c71630801dc70c57.tar.gz
opensim-SC-f18780d0e3a6e5130b1c1d86c71630801dc70c57.tar.bz2
opensim-SC-f18780d0e3a6e5130b1c1d86c71630801dc70c57.tar.xz
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
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/GridService/GridService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index f663dd6..0a4372a 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -510,8 +510,9 @@ namespace OpenSim.Services.GridService
510 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]); 510 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]);
511 MainConsole.Instance.Output(String.Format("{0,-20} {1}\n{2,-20} {3}\n{4,-39} {5}\n\n", 511 MainConsole.Instance.Output(String.Format("{0,-20} {1}\n{2,-20} {3}\n{4,-39} {5}\n\n",
512 r.RegionName, r.RegionID, 512 r.RegionName, r.RegionID,
513 String.Format("{0},{1}", r.posX, r.posY), r.Data["serverURI"], 513 String.Format("{0},{1}", r.posX / Constants.RegionSize, r.posY / Constants.RegionSize),
514 r.Data["owner_uuid"].ToString(), flags.ToString())); 514 r.Data["serverURI"],
515 r.Data["owner_uuid"], flags));
515 } 516 }
516 return; 517 return;
517 } 518 }