diff options
author | Diva Canto | 2010-01-10 10:40:07 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-10 10:40:07 -0800 |
commit | 1e1b2ab221851efc414678b7ea52ef2ca788ce9f (patch) | |
tree | 29b6aa80e54a9c18529ae14e7d185fe67582d151 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Add a "LockedOut" flag to allow locking a region out via the grid server. (diff) | |
download | opensim-SC-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.zip opensim-SC-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.gz opensim-SC-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.bz2 opensim-SC-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.xz |
* OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here
* Compiles. Untested.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 90d476e..53c51e6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3207,10 +3207,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3207 | m_sceneGraph.removeUserCount(!childagentYN); | 3207 | m_sceneGraph.removeUserCount(!childagentYN); |
3208 | CapsModule.RemoveCapsHandler(agentID); | 3208 | CapsModule.RemoveCapsHandler(agentID); |
3209 | 3209 | ||
3210 | if (avatar.Scene.NeedSceneCacheClear(avatar.UUID)) | 3210 | // REFACTORING PROBLEM -- well not really a problem, but just to point out that whatever |
3211 | { | 3211 | // this method is doing is HORRIBLE!!! |
3212 | CommsManager.UserProfileCacheService.RemoveUser(agentID); | 3212 | avatar.Scene.NeedSceneCacheClear(avatar.UUID); |
3213 | } | ||
3214 | 3213 | ||
3215 | if (!avatar.IsChildAgent) | 3214 | if (!avatar.IsChildAgent) |
3216 | { | 3215 | { |
@@ -3512,18 +3511,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3512 | 3511 | ||
3513 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); | 3512 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); |
3514 | 3513 | ||
3515 | // rewrite session_id | ||
3516 | CachedUserInfo userinfo = CommsManager.UserProfileCacheService.GetUserDetails(agent.AgentID); | ||
3517 | if (userinfo != null) | ||
3518 | { | ||
3519 | userinfo.SessionID = agent.SessionID; | ||
3520 | } | ||
3521 | else | ||
3522 | { | ||
3523 | m_log.WarnFormat( | ||
3524 | "[CONNECTION BEGIN]: We couldn't find a User Info record for {0}. This is usually an indication that the UUID we're looking up is invalid", agent.AgentID); | ||
3525 | } | ||
3526 | |||
3527 | return true; | 3514 | return true; |
3528 | } | 3515 | } |
3529 | 3516 | ||