Enable the simulator to handle region size information returned from
a hypergrid gatekeeper. Fields are "size_x" and "size_y". Server side will be updated separately.varregion
parent
4c362a83f9
commit
674a3a5639
|
@ -255,6 +255,18 @@ namespace OpenSim.Services.Connectors.Hypergrid
|
||||||
region.RegionLocY = n;
|
region.RegionLocY = n;
|
||||||
//m_log.Debug(">> HERE, y: " + region.RegionLocY);
|
//m_log.Debug(">> HERE, y: " + region.RegionLocY);
|
||||||
}
|
}
|
||||||
|
if (hash["size_x"] != null)
|
||||||
|
{
|
||||||
|
Int32.TryParse((string)hash["size_x"], out n);
|
||||||
|
region.RegionSizeX = n;
|
||||||
|
//m_log.Debug(">> HERE, x: " + region.RegionLocX);
|
||||||
|
}
|
||||||
|
if (hash["size_y"] != null)
|
||||||
|
{
|
||||||
|
Int32.TryParse((string)hash["size_y"], out n);
|
||||||
|
region.RegionSizeY = n;
|
||||||
|
//m_log.Debug(">> HERE, y: " + region.RegionLocY);
|
||||||
|
}
|
||||||
if (hash["region_name"] != null)
|
if (hash["region_name"] != null)
|
||||||
{
|
{
|
||||||
region.RegionName = (string)hash["region_name"];
|
region.RegionName = (string)hash["region_name"];
|
||||||
|
|
Loading…
Reference in New Issue