aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 6a748fe..46a5c18 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -50,6 +50,8 @@ namespace OpenSim.Services.LLLoginService
50 public class LLLoginService : ILoginService 50 public class LLLoginService : ILoginService
51 { 51 {
52 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 52 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
53 private static readonly string LogHeader = "[LLOGIN SERVICE]";
54
53 private static bool Initialized = false; 55 private static bool Initialized = false;
54 56
55 protected IUserAccountService m_UserAccountService; 57 protected IUserAccountService m_UserAccountService;
@@ -408,6 +410,7 @@ namespace OpenSim.Services.LLLoginService
408 else 410 else
409 { 411 {
410 // something went wrong, make something up, so that we don't have to test this anywhere else 412 // something went wrong, make something up, so that we don't have to test this anywhere else
413 m_log.DebugFormat("{0} Failed to fetch GridUserInfo. Creating empty GridUserInfo as home", LogHeader);
411 guinfo = new GridUserInfo(); 414 guinfo = new GridUserInfo();
412 guinfo.LastPosition = guinfo.HomePosition = new Vector3(128, 128, 30); 415 guinfo.LastPosition = guinfo.HomePosition = new Vector3(128, 128, 30);
413 } 416 }
@@ -696,7 +699,7 @@ namespace OpenSim.Services.LLLoginService
696 private GridRegion FindAlternativeRegion(UUID scopeID) 699 private GridRegion FindAlternativeRegion(UUID scopeID)
697 { 700 {
698 List<GridRegion> hyperlinks = null; 701 List<GridRegion> hyperlinks = null;
699 List<GridRegion> regions = m_GridService.GetFallbackRegions(scopeID, 1000 * (int)Constants.RegionSize, 1000 * (int)Constants.RegionSize); 702 List<GridRegion> regions = m_GridService.GetFallbackRegions(scopeID, (int)Util.RegionToWorldLoc(1000), (int)Util.RegionToWorldLoc(1000));
700 if (regions != null && regions.Count > 0) 703 if (regions != null && regions.Count > 0)
701 { 704 {
702 hyperlinks = m_GridService.GetHyperlinks(scopeID); 705 hyperlinks = m_GridService.GetHyperlinks(scopeID);