diff options
author | Justin Clark-Casey (justincc) | 2014-03-26 02:34:22 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-03-26 02:34:22 +0000 |
commit | 2fbb906ff6e2b994e726226b8dc677d1bb40cc64 (patch) | |
tree | 13143bce7c0a078e931f15c688f9f15d50d99714 /OpenSim/Services/Connectors | |
parent | Also take YP/commented out JS references from script engine CodeTools. (diff) | |
download | opensim-SC-2fbb906ff6e2b994e726226b8dc677d1bb40cc64.zip opensim-SC-2fbb906ff6e2b994e726226b8dc677d1bb40cc64.tar.gz opensim-SC-2fbb906ff6e2b994e726226b8dc677d1bb40cc64.tar.bz2 opensim-SC-2fbb906ff6e2b994e726226b8dc677d1bb40cc64.tar.xz |
Reinsert code to extract size_x and size_y parameters from GetHomeRegion response in UserAgentServiceConnector.
This is actually code from commits afb2e07 and cf61cdf
For as yet unexplained reasons, the section of these commits which changed UserAgentServiceConnector.cs disappeared from its history between approx Feb 5 2014 and Feb 13 2014.
This ought to be impossible. More details to follow in opensim-dev mailing list
Diffstat (limited to 'OpenSim/Services/Connectors')
-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 54191f6..61f8516 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | |||
@@ -257,6 +257,18 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
257 | region.RegionLocY = n; | 257 | region.RegionLocY = n; |
258 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | 258 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); |
259 | } | 259 | } |
260 | if (hash["size_x"] != null) | ||
261 | { | ||
262 | Int32.TryParse((string)hash["size_x"], out n); | ||
263 | region.RegionSizeX = n; | ||
264 | //m_log.Debug(">> HERE, x: " + region.RegionLocX); | ||
265 | } | ||
266 | if (hash["size_y"] != null) | ||
267 | { | ||
268 | Int32.TryParse((string)hash["size_y"], out n); | ||
269 | region.RegionSizeY = n; | ||
270 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | ||
271 | } | ||
260 | if (hash["region_name"] != null) | 272 | if (hash["region_name"] != null) |
261 | { | 273 | { |
262 | region.RegionName = (string)hash["region_name"]; | 274 | region.RegionName = (string)hash["region_name"]; |