diff options
author | Justin Clarke Casey | 2008-08-01 18:49:48 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-01 18:49:48 +0000 |
commit | 43b2ff1d112174c36bb18caf353945afc6390840 (patch) | |
tree | 2da70a8856c417dcfb66f75fb38a4bde2b73c57f /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * minor: eliminate some unused variables in InventoryFolderImpl (diff) | |
download | opensim-SC_OLD-43b2ff1d112174c36bb18caf353945afc6390840.zip opensim-SC_OLD-43b2ff1d112174c36bb18caf353945afc6390840.tar.gz opensim-SC_OLD-43b2ff1d112174c36bb18caf353945afc6390840.tar.bz2 opensim-SC_OLD-43b2ff1d112174c36bb18caf353945afc6390840.tar.xz |
* Drop cached inventory from the local region when a user crosses out into a remote region
* May resolves inventory problems that occur when the user moves between two regions`
* e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item
* Not yet implemented for teleport
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index c4078c9..f81248b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1976,7 +1976,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1976 | #region Add/Remove Avatar Methods | 1976 | #region Add/Remove Avatar Methods |
1977 | 1977 | ||
1978 | /// <summary> | 1978 | /// <summary> |
1979 | /// | 1979 | /// Register the new client with the scene |
1980 | /// </summary> | 1980 | /// </summary> |
1981 | /// <param name="client"></param | 1981 | /// <param name="client"></param |
1982 | /// <param name="child"></param> | 1982 | /// <param name="child"></param> |
@@ -1991,7 +1991,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1991 | 1991 | ||
1992 | if (m_restorePresences.ContainsKey(client.AgentId)) | 1992 | if (m_restorePresences.ContainsKey(client.AgentId)) |
1993 | { | 1993 | { |
1994 | m_log.Info("[REGION]: Restore Scene Presence"); | 1994 | m_log.Info("[REGION]: Restoring Scene Presence"); |
1995 | 1995 | ||
1996 | presence = m_restorePresences[client.AgentId]; | 1996 | presence = m_restorePresences[client.AgentId]; |
1997 | m_restorePresences.Remove(client.AgentId); | 1997 | m_restorePresences.Remove(client.AgentId); |
@@ -2015,9 +2015,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
2015 | } | 2015 | } |
2016 | else | 2016 | else |
2017 | { | 2017 | { |
2018 | m_log.Info("[REGION]: Add New Scene Presence"); | 2018 | m_log.Info("[REGION]: Adding New Scene Presence"); |
2019 | 2019 | ||
2020 | //CommsManager.UserProfileCacheService.AddNewUser(client.AgentId); | ||
2021 | CommsManager.UserProfileCacheService.AddNewUser(client); | 2020 | CommsManager.UserProfileCacheService.AddNewUser(client); |
2022 | 2021 | ||
2023 | CreateAndAddScenePresence(client, child); | 2022 | CreateAndAddScenePresence(client, child); |