diff options
author | Diva Canto | 2010-01-10 15:34:56 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-10 15:34:56 -0800 |
commit | 4dd523b45d1e635c66eb4e556764fabe29dbfc58 (patch) | |
tree | dbd92b59418535e6c2967021124a906a9987088d /OpenSim/Services/LLLoginService | |
parent | * Last reference to CommsManager.UserProfileCacheService removed (diff) | |
download | opensim-SC_OLD-4dd523b45d1e635c66eb4e556764fabe29dbfc58.zip opensim-SC_OLD-4dd523b45d1e635c66eb4e556764fabe29dbfc58.tar.gz opensim-SC_OLD-4dd523b45d1e635c66eb4e556764fabe29dbfc58.tar.bz2 opensim-SC_OLD-4dd523b45d1e635c66eb4e556764fabe29dbfc58.tar.xz |
* Changed IPresenceService Logout, so that it takes a position and a lookat
* CommsManager.AvatarService rerouted
Diffstat (limited to 'OpenSim/Services/LLLoginService')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 2ae552f..47d1b16 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -163,7 +163,7 @@ namespace OpenSim.Services.LLLoginService | |||
163 | GridRegion destination = FindDestination(account, presence, session, startLocation, out where, out position, out lookAt); | 163 | GridRegion destination = FindDestination(account, presence, session, startLocation, out where, out position, out lookAt); |
164 | if (destination == null) | 164 | if (destination == null) |
165 | { | 165 | { |
166 | m_PresenceService.LogoutAgent(session); | 166 | m_PresenceService.LogoutAgent(session, presence.Position, presence.LookAt); |
167 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: destination not found"); | 167 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: destination not found"); |
168 | return LLFailedLoginResponse.GridProblem; | 168 | return LLFailedLoginResponse.GridProblem; |
169 | } | 169 | } |
@@ -195,7 +195,7 @@ namespace OpenSim.Services.LLLoginService | |||
195 | } | 195 | } |
196 | if (aCircuit == null) | 196 | if (aCircuit == null) |
197 | { | 197 | { |
198 | m_PresenceService.LogoutAgent(session); | 198 | m_PresenceService.LogoutAgent(session, presence.Position, presence.LookAt); |
199 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); | 199 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: {0}", reason); |
200 | return LLFailedLoginResponse.AuthorizationProblem; | 200 | return LLFailedLoginResponse.AuthorizationProblem; |
201 | } | 201 | } |
@@ -212,7 +212,7 @@ namespace OpenSim.Services.LLLoginService | |||
212 | { | 212 | { |
213 | m_log.WarnFormat("[LLOGIN SERVICE]: Exception processing login for {0} {1}: {2}", firstName, lastName, e.StackTrace); | 213 | m_log.WarnFormat("[LLOGIN SERVICE]: Exception processing login for {0} {1}: {2}", firstName, lastName, e.StackTrace); |
214 | if (m_PresenceService != null) | 214 | if (m_PresenceService != null) |
215 | m_PresenceService.LogoutAgent(session); | 215 | m_PresenceService.LogoutAgent(session, new Vector3(128, 128, 0), new Vector3(0, 1, 0)); |
216 | return LLFailedLoginResponse.InternalError; | 216 | return LLFailedLoginResponse.InternalError; |
217 | } | 217 | } |
218 | } | 218 | } |