aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
authorSignpostMarv2012-09-06 10:54:45 +0100
committerJustin Clark-Casey (justincc)2012-09-08 00:14:39 +0100
commit874bde366aa3f834957f757aa56a7634becb4415 (patch)
tree159683757c1bbddaf646981fb4191336f28037fa /OpenSim/Services/Connectors
parentrenaming to markdown file (diff)
downloadopensim-SC_OLD-874bde366aa3f834957f757aa56a7634becb4415.zip
opensim-SC_OLD-874bde366aa3f834957f757aa56a7634becb4415.tar.gz
opensim-SC_OLD-874bde366aa3f834957f757aa56a7634becb4415.tar.bz2
opensim-SC_OLD-874bde366aa3f834957f757aa56a7634becb4415.tar.xz
4096 is used in various places as the maximum height of a region, refactoring to be a constant
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r--OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs
index 67a65ff..35cb408 100644
--- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs
+++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs
@@ -101,7 +101,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
101 public string RegisterRegion(UUID scopeID, GridRegion regionInfo) 101 public string RegisterRegion(UUID scopeID, GridRegion regionInfo)
102 { 102 {
103 Vector3d minPosition = new Vector3d(regionInfo.RegionLocX, regionInfo.RegionLocY, 0.0); 103 Vector3d minPosition = new Vector3d(regionInfo.RegionLocX, regionInfo.RegionLocY, 0.0);
104 Vector3d maxPosition = minPosition + new Vector3d(Constants.RegionSize, Constants.RegionSize, 4096.0); 104 Vector3d maxPosition = minPosition + new Vector3d(Constants.RegionSize, Constants.RegionSize, Constants.RegionHeight);
105 105
106 OSDMap extraData = new OSDMap 106 OSDMap extraData = new OSDMap
107 { 107 {
@@ -286,7 +286,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
286 List<GridRegion> foundRegions = new List<GridRegion>(); 286 List<GridRegion> foundRegions = new List<GridRegion>();
287 287
288 Vector3d minPosition = new Vector3d(xmin, ymin, 0.0); 288 Vector3d minPosition = new Vector3d(xmin, ymin, 0.0);
289 Vector3d maxPosition = new Vector3d(xmax, ymax, 4096.0); 289 Vector3d maxPosition = new Vector3d(xmax, ymax, Constants.RegionHeight);
290 290
291 NameValueCollection requestArgs = new NameValueCollection 291 NameValueCollection requestArgs = new NameValueCollection
292 { 292 {