diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Hypergrid')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | 12 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs index c9c6c31..5d7dcfd 100644 --- a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | |||
@@ -255,6 +255,18 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
255 | region.RegionLocY = n; | 255 | region.RegionLocY = n; |
256 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | 256 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); |
257 | } | 257 | } |
258 | if (hash["size_x"] != null) | ||
259 | { | ||
260 | Int32.TryParse((string)hash["size_x"], out n); | ||
261 | region.RegionSizeX = n; | ||
262 | //m_log.Debug(">> HERE, x: " + region.RegionLocX); | ||
263 | } | ||
264 | if (hash["size_y"] != null) | ||
265 | { | ||
266 | Int32.TryParse((string)hash["size_y"], out n); | ||
267 | region.RegionSizeY = n; | ||
268 | //m_log.Debug(">> HERE, y: " + region.RegionLocY); | ||
269 | } | ||
258 | if (hash["region_name"] != null) | 270 | if (hash["region_name"] != null) |
259 | { | 271 | { |
260 | region.RegionName = (string)hash["region_name"]; | 272 | region.RegionName = (string)hash["region_name"]; |
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"]; |