aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginResponse.cs')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginResponse.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
index 6ab5258..5256b74 100644
--- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs
@@ -254,11 +254,11 @@ namespace OpenSim.Services.LLLoginService
254 Currency = currency; 254 Currency = currency;
255 ClassifiedFee = classifiedFee; 255 ClassifiedFee = classifiedFee;
256 256
257
258 FillOutHomeData(pinfo, home); 257 FillOutHomeData(pinfo, home);
259 LookAt = String.Format("[r{0},r{1},r{2}]", lookAt.X, lookAt.Y, lookAt.Z); 258 LookAt = String.Format("[r{0},r{1},r{2}]", lookAt.X, lookAt.Y, lookAt.Z);
260 259
261 FillOutRegionData(destination); 260 FillOutRegionData(destination);
261 // m_log.DebugFormat("[LOGIN RESPONSE] LLLoginResponse create. sizeX=<{0},{1}>", RegionSizeX, RegionSizeY);
262 262
263 FillOutSeedCap(aCircuit, destination, clientIP); 263 FillOutSeedCap(aCircuit, destination, clientIP);
264 264
@@ -384,6 +384,8 @@ namespace OpenSim.Services.LLLoginService
384 SimPort = (uint)endPoint.Port; 384 SimPort = (uint)endPoint.Port;
385 RegionX = (uint)destination.RegionLocX; 385 RegionX = (uint)destination.RegionLocX;
386 RegionY = (uint)destination.RegionLocY; 386 RegionY = (uint)destination.RegionLocY;
387 RegionSizeX = destination.RegionSizeX;
388 RegionSizeY = destination.RegionSizeY;
387 } 389 }
388 390
389 private void FillOutSeedCap(AgentCircuitData aCircuit, GridRegion destination, IPEndPoint ipepClient) 391 private void FillOutSeedCap(AgentCircuitData aCircuit, GridRegion destination, IPEndPoint ipepClient)
@@ -529,6 +531,9 @@ namespace OpenSim.Services.LLLoginService
529 responseData["message"] = welcomeMessage; 531 responseData["message"] = welcomeMessage;
530 responseData["region_x"] = (Int32)(RegionX); 532 responseData["region_x"] = (Int32)(RegionX);
531 responseData["region_y"] = (Int32)(RegionY); 533 responseData["region_y"] = (Int32)(RegionY);
534 responseData["region_size_x"] = (Int32)RegionSizeX;
535 responseData["region_size_y"] = (Int32)RegionSizeY;
536 // m_log.DebugFormat("[LOGIN RESPONSE] returning sizeX=<{0},{1}>", RegionSizeX, RegionSizeY);
532 537
533 if (searchURL != String.Empty) 538 if (searchURL != String.Empty)
534 responseData["search"] = searchURL; 539 responseData["search"] = searchURL;
@@ -918,6 +923,9 @@ namespace OpenSim.Services.LLLoginService
918 set { regionY = value; } 923 set { regionY = value; }
919 } 924 }
920 925
926 public int RegionSizeX { get; private set; }
927 public int RegionSizeY { get; private set; }
928
921 public string SunTexture 929 public string SunTexture
922 { 930 {
923 get { return sunTexture; } 931 get { return sunTexture; }