diff options
author | UbitUmarov | 2016-11-27 15:14:34 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-27 15:14:34 +0000 |
commit | 877d3092b45723a2fe8b3a5bbc224cd5d5e55e82 (patch) | |
tree | f11a5b2d85443fefc81e1958c82828a16fc656cc /OpenSim/Services/HypergridService | |
parent | fix pool parameters for httptests (diff) | |
parent | HG on links request build the URI in http format with a / at end, this should... (diff) | |
download | opensim-SC-877d3092b45723a2fe8b3a5bbc224cd5d5e55e82.zip opensim-SC-877d3092b45723a2fe8b3a5bbc224cd5d5e55e82.tar.gz opensim-SC-877d3092b45723a2fe8b3a5bbc224cd5d5e55e82.tar.bz2 opensim-SC-877d3092b45723a2fe8b3a5bbc224cd5d5e55e82.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3c77924..41e2b40 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -162,10 +162,12 @@ namespace OpenSim.Services.HypergridService | |||
162 | exceptions.Add(s.Trim()); | 162 | exceptions.Add(s.Trim()); |
163 | } | 163 | } |
164 | 164 | ||
165 | public bool LinkRegion(string regionName, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason) | 165 | public bool LinkRegion(string regionName, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason, out int sizeX, out int sizeY) |
166 | { | 166 | { |
167 | regionID = UUID.Zero; | 167 | regionID = UUID.Zero; |
168 | regionHandle = 0; | 168 | regionHandle = 0; |
169 | sizeX = (int)Constants.RegionSize; | ||
170 | sizeY = (int)Constants.RegionSize; | ||
169 | externalName = m_ExternalName + ((regionName != string.Empty) ? " " + regionName : ""); | 171 | externalName = m_ExternalName + ((regionName != string.Empty) ? " " + regionName : ""); |
170 | imageURL = string.Empty; | 172 | imageURL = string.Empty; |
171 | reason = string.Empty; | 173 | reason = string.Empty; |
@@ -199,6 +201,8 @@ namespace OpenSim.Services.HypergridService | |||
199 | 201 | ||
200 | regionID = region.RegionID; | 202 | regionID = region.RegionID; |
201 | regionHandle = region.RegionHandle; | 203 | regionHandle = region.RegionHandle; |
204 | sizeX = region.RegionSizeX; | ||
205 | sizeY = region.RegionSizeY; | ||
202 | 206 | ||
203 | string regionimage = "regionImage" + regionID.ToString(); | 207 | string regionimage = "regionImage" + regionID.ToString(); |
204 | regionimage = regionimage.Replace("-", ""); | 208 | regionimage = regionimage.Replace("-", ""); |