diff options
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs index 36a5182..3cf3416 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |||
@@ -531,9 +531,13 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
531 | region.RegionName = response["Name"].AsString(); | 531 | region.RegionName = response["Name"].AsString(); |
532 | 532 | ||
533 | Vector3d minPosition = response["MinPosition"].AsVector3d(); | 533 | Vector3d minPosition = response["MinPosition"].AsVector3d(); |
534 | Vector3d maxPosition = response["MaxPosition"].AsVector3d(); | ||
534 | region.RegionLocX = (int)minPosition.X; | 535 | region.RegionLocX = (int)minPosition.X; |
535 | region.RegionLocY = (int)minPosition.Y; | 536 | region.RegionLocY = (int)minPosition.Y; |
536 | 537 | ||
538 | region.RegionSizeX = (int)maxPosition.X - (int)minPosition.X; | ||
539 | region.RegionSizeY = (int)maxPosition.Y - (int)minPosition.Y; | ||
540 | |||
537 | if ( ! extraData["HyperGrid"] ) { | 541 | if ( ! extraData["HyperGrid"] ) { |
538 | Uri httpAddress = response["Address"].AsUri(); | 542 | Uri httpAddress = response["Address"].AsUri(); |
539 | region.ExternalHostName = httpAddress.Host; | 543 | region.ExternalHostName = httpAddress.Host; |