diff options
author | John Hurliman | 2010-03-12 10:19:57 -0800 |
---|---|---|
committer | John Hurliman | 2010-03-12 10:19:57 -0800 |
commit | 3fa49888104c609298a2562ec61384aeeb8e566e (patch) | |
tree | 783bde8ab10d8a76c67ec19958aae1857da8c1e5 | |
parent | Adding the SimianGrid connectors (diff) | |
parent | Bug fix: "last location" login. (diff) | |
download | opensim-SC-3fa49888104c609298a2562ec61384aeeb8e566e.zip opensim-SC-3fa49888104c609298a2562ec61384aeeb8e566e.tar.gz opensim-SC-3fa49888104c609298a2562ec61384aeeb8e566e.tar.bz2 opensim-SC-3fa49888104c609298a2562ec61384aeeb8e566e.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 6 | ||||
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 24 | ||||
-rw-r--r-- | OpenSim/Services/PresenceService/PresenceService.cs | 4 |
3 files changed, 19 insertions, 15 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index 1a59213..ee30fa3 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -47,9 +47,9 @@ namespace OpenSim.Services.LLLoginService | |||
47 | { | 47 | { |
48 | public class LLFailedLoginResponse : OpenSim.Services.Interfaces.FailedLoginResponse | 48 | public class LLFailedLoginResponse : OpenSim.Services.Interfaces.FailedLoginResponse |
49 | { | 49 | { |
50 | string m_key; | 50 | protected string m_key; |
51 | string m_value; | 51 | protected string m_value; |
52 | string m_login; | 52 | protected string m_login; |
53 | 53 | ||
54 | public static LLFailedLoginResponse UserProblem; | 54 | public static LLFailedLoginResponse UserProblem; |
55 | public static LLFailedLoginResponse AuthorizationProblem; | 55 | public static LLFailedLoginResponse AuthorizationProblem; |
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 1578873..1eaf4d4 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -51,24 +51,24 @@ namespace OpenSim.Services.LLLoginService | |||
51 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 51 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
52 | private static bool Initialized = false; | 52 | private static bool Initialized = false; |
53 | 53 | ||
54 | private IUserAccountService m_UserAccountService; | 54 | protected IUserAccountService m_UserAccountService; |
55 | private IAuthenticationService m_AuthenticationService; | 55 | protected IAuthenticationService m_AuthenticationService; |
56 | private IInventoryService m_InventoryService; | 56 | protected IInventoryService m_InventoryService; |
57 | private IGridService m_GridService; | 57 | protected IGridService m_GridService; |
58 | private IPresenceService m_PresenceService; | 58 | protected IPresenceService m_PresenceService; |
59 | private ISimulationService m_LocalSimulationService; | 59 | private ISimulationService m_LocalSimulationService; |
60 | private ISimulationService m_RemoteSimulationService; | 60 | private ISimulationService m_RemoteSimulationService; |
61 | private ILibraryService m_LibraryService; | 61 | protected ILibraryService m_LibraryService; |
62 | private IFriendsService m_FriendsService; | 62 | protected IFriendsService m_FriendsService; |
63 | private IAvatarService m_AvatarService; | 63 | protected IAvatarService m_AvatarService; |
64 | private IUserAgentService m_UserAgentService; | 64 | private IUserAgentService m_UserAgentService; |
65 | 65 | ||
66 | private GatekeeperServiceConnector m_GatekeeperConnector; | 66 | private GatekeeperServiceConnector m_GatekeeperConnector; |
67 | 67 | ||
68 | private string m_DefaultRegionName; | 68 | private string m_DefaultRegionName; |
69 | private string m_WelcomeMessage; | 69 | protected string m_WelcomeMessage; |
70 | private bool m_RequireInventory; | 70 | private bool m_RequireInventory; |
71 | private int m_MinLoginLevel; | 71 | protected int m_MinLoginLevel; |
72 | private string m_GatekeeperURL; | 72 | private string m_GatekeeperURL; |
73 | 73 | ||
74 | IConfig m_LoginServerConfig; | 74 | IConfig m_LoginServerConfig; |
@@ -286,7 +286,7 @@ namespace OpenSim.Services.LLLoginService | |||
286 | } | 286 | } |
287 | } | 287 | } |
288 | 288 | ||
289 | private GridRegion FindDestination(UserAccount account, PresenceInfo pinfo, UUID sessionID, string startLocation, out GridRegion gatekeeper, out string where, out Vector3 position, out Vector3 lookAt) | 289 | protected GridRegion FindDestination(UserAccount account, PresenceInfo pinfo, UUID sessionID, string startLocation, out GridRegion gatekeeper, out string where, out Vector3 position, out Vector3 lookAt) |
290 | { | 290 | { |
291 | m_log.DebugFormat("[LLOGIN SERVICE]: FindDestination for start location {0}", startLocation); | 291 | m_log.DebugFormat("[LLOGIN SERVICE]: FindDestination for start location {0}", startLocation); |
292 | 292 | ||
@@ -497,7 +497,7 @@ namespace OpenSim.Services.LLLoginService | |||
497 | } | 497 | } |
498 | } | 498 | } |
499 | 499 | ||
500 | private AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, | 500 | protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, |
501 | UUID session, UUID secureSession, Vector3 position, string currentWhere, out string where, out string reason) | 501 | UUID session, UUID secureSession, Vector3 position, string currentWhere, out string where, out string reason) |
502 | { | 502 | { |
503 | where = currentWhere; | 503 | where = currentWhere; |
diff --git a/OpenSim/Services/PresenceService/PresenceService.cs b/OpenSim/Services/PresenceService/PresenceService.cs index 304538a..ea8d673 100644 --- a/OpenSim/Services/PresenceService/PresenceService.cs +++ b/OpenSim/Services/PresenceService/PresenceService.cs | |||
@@ -72,6 +72,10 @@ namespace OpenSim.Services.PresenceService | |||
72 | data.Data["HomeRegionID"] = d[0].Data["HomeRegionID"]; | 72 | data.Data["HomeRegionID"] = d[0].Data["HomeRegionID"]; |
73 | data.Data["HomePosition"] = d[0].Data["HomePosition"]; | 73 | data.Data["HomePosition"] = d[0].Data["HomePosition"]; |
74 | data.Data["HomeLookAt"] = d[0].Data["HomeLookAt"]; | 74 | data.Data["HomeLookAt"] = d[0].Data["HomeLookAt"]; |
75 | data.Data["Position"] = d[0].Data["Position"]; | ||
76 | data.Data["LookAt"] = d[0].Data["LookAt"]; | ||
77 | |||
78 | data.RegionID = d[0].RegionID; | ||
75 | } | 79 | } |
76 | else | 80 | else |
77 | { | 81 | { |