aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authordiva2008-12-15 20:45:40 +0000
committerdiva2008-12-15 20:45:40 +0000
commit8fffdac7fa724c651935acb46725bc101cf8dfee (patch)
tree21f44f4f921d00a0b1b9a65f3e1e53b5f1a396b3 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* minor: method documentation and miscellaneous tidy (diff)
downloadopensim-SC_OLD-8fffdac7fa724c651935acb46725bc101cf8dfee.zip
opensim-SC_OLD-8fffdac7fa724c651935acb46725bc101cf8dfee.tar.gz
opensim-SC_OLD-8fffdac7fa724c651935acb46725bc101cf8dfee.tar.bz2
opensim-SC_OLD-8fffdac7fa724c651935acb46725bc101cf8dfee.tar.xz
Attempt at restoring inventory access after TPs/crossings. RemoveClient in Scene was being too
aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide whether to nix it or not. All other mods in other files are for better debugging messages.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 873662e..f6d82c4 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2709,7 +2709,11 @@ namespace OpenSim.Region.Environment.Scenes
2709 m_sceneGraph.removeUserCount(!childagentYN); 2709 m_sceneGraph.removeUserCount(!childagentYN);
2710 RemoveCapsHandler(agentID); 2710 RemoveCapsHandler(agentID);
2711 2711
2712 CommsManager.UserProfileCacheService.RemoveUser(agentID); 2712 if (avatar.Scene.NeedSceneCacheClear(avatar.UUID))
2713 {
2714 m_log.InfoFormat("[SCENE]: User {0} is going to another region, profile cache removed in {1}", avatar.UUID, RegionInfo.RegionName);
2715 CommsManager.UserProfileCacheService.RemoveUser(agentID);
2716 }
2713 2717
2714 if (!avatar.IsChildAgent) 2718 if (!avatar.IsChildAgent)
2715 { 2719 {