diff options
author | UbitUmarov | 2015-08-19 08:48:50 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-19 08:48:50 +0100 |
commit | 0b105da626ae8c2fb519a817b827f90534ed7d08 (patch) | |
tree | 509e6d091fb12f38fd09528335e51aeedbe59c08 /OpenSim/Services/LLLoginService/LLLoginResponse.cs | |
parent | Merge branch 'master' into ubitworkmaster (diff) | |
parent | varregion: update MapImageServiceModule to upload multiple map tiles for larg... (diff) | |
download | opensim-SC-0b105da626ae8c2fb519a817b827f90534ed7d08.zip opensim-SC-0b105da626ae8c2fb519a817b827f90534ed7d08.tar.gz opensim-SC-0b105da626ae8c2fb519a817b827f90534ed7d08.tar.bz2 opensim-SC-0b105da626ae8c2fb519a817b827f90534ed7d08.tar.xz |
Merge branch 'mbworkvar2' into ubitvar
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginResponse.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index f641955..da351b9 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -368,7 +368,8 @@ namespace OpenSim.Services.LLLoginService | |||
368 | 368 | ||
369 | private void FillOutHomeData(GridUserInfo pinfo, GridRegion home) | 369 | private void FillOutHomeData(GridUserInfo pinfo, GridRegion home) |
370 | { | 370 | { |
371 | int x = 1000 * (int)Constants.RegionSize, y = 1000 * (int)Constants.RegionSize; | 371 | int x = (int)Util.RegionToWorldLoc(1000); |
372 | int y = (int)Util.RegionToWorldLoc(1000); | ||
372 | if (home != null) | 373 | if (home != null) |
373 | { | 374 | { |
374 | x = home.RegionLocX; | 375 | x = home.RegionLocX; |
@@ -443,10 +444,23 @@ namespace OpenSim.Services.LLLoginService | |||
443 | ErrorReason = "key"; | 444 | ErrorReason = "key"; |
444 | welcomeMessage = "Welcome to OpenSim!"; | 445 | welcomeMessage = "Welcome to OpenSim!"; |
445 | seedCapability = String.Empty; | 446 | seedCapability = String.Empty; |
446 | home = "{'region_handle':[r" + (1000*Constants.RegionSize).ToString() + ",r" + (1000*Constants.RegionSize).ToString() + "], 'position':[r" + | 447 | home = "{'region_handle':[" |
447 | userProfile.homepos.X.ToString() + ",r" + userProfile.homepos.Y.ToString() + ",r" + | 448 | + "r" + Util.RegionToWorldLoc(1000).ToString() |
448 | userProfile.homepos.Z.ToString() + "], 'look_at':[r" + userProfile.homelookat.X.ToString() + ",r" + | 449 | + "," |
449 | userProfile.homelookat.Y.ToString() + ",r" + userProfile.homelookat.Z.ToString() + "]}"; | 450 | + "r" + Util.RegionToWorldLoc(1000).ToString() |
451 | + "], 'position':[" | ||
452 | + "r" + userProfile.homepos.X.ToString() | ||
453 | + "," | ||
454 | + "r" + userProfile.homepos.Y.ToString() | ||
455 | + "," | ||
456 | + "r" + userProfile.homepos.Z.ToString() | ||
457 | + "], 'look_at':[" | ||
458 | + "r" + userProfile.homelookat.X.ToString() | ||
459 | + "," | ||
460 | + "r" + userProfile.homelookat.Y.ToString() | ||
461 | + "," | ||
462 | + "r" + userProfile.homelookat.Z.ToString() | ||
463 | + "]}"; | ||
450 | lookAt = "[r0.99949799999999999756,r0.03166859999999999814,r0]"; | 464 | lookAt = "[r0.99949799999999999756,r0.03166859999999999814,r0]"; |
451 | RegionX = (uint) 255232; | 465 | RegionX = (uint) 255232; |
452 | RegionY = (uint) 254976; | 466 | RegionY = (uint) 254976; |