diff options
author | Robert Adams | 2014-01-24 06:30:38 -0800 |
---|---|---|
committer | Robert Adams | 2014-01-24 06:30:38 -0800 |
commit | afb2e0711118706aa9e27246246d08f26e0daca5 (patch) | |
tree | 438c1259184a02dc105cbdb89e5a1e71dbb1038b /OpenSim/Services/Connectors/Hypergrid | |
parent | Enable the simulator to handle region size information returned from (diff) | |
download | opensim-SC-afb2e0711118706aa9e27246246d08f26e0daca5.zip opensim-SC-afb2e0711118706aa9e27246246d08f26e0daca5.tar.gz opensim-SC-afb2e0711118706aa9e27246246d08f26e0daca5.tar.bz2 opensim-SC-afb2e0711118706aa9e27246246d08f26e0daca5.tar.xz |
varregion: pass region size in more HG services.
Diffstat (limited to 'OpenSim/Services/Connectors/Hypergrid')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index 2511c08..d0a0b17 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | |||
@@ -242,6 +242,18 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
242 | region.RegionLocY = n; | 242 | region.RegionLocY = n; |
243 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | 243 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); |
244 | } | 244 | } |
245 | if (hash["size_x"] != null) | ||
246 | { | ||
247 | Int32.TryParse((string)hash["x"], out n); | ||
248 | region.RegionSizeX = n; | ||
249 | //m_log.Debug(">> HERE, x: " + region.RegionLocX); | ||
250 | } | ||
251 | if (hash["size_y"] != null) | ||
252 | { | ||
253 | Int32.TryParse((string)hash["y"], out n); | ||
254 | region.RegionSizeY = n; | ||
255 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | ||
256 | } | ||
245 | if (hash["region_name"] != null) | 257 | if (hash["region_name"] != null) |
246 | { | 258 | { |
247 | region.RegionName = (string)hash["region_name"]; | 259 | region.RegionName = (string)hash["region_name"]; |