diff options
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); |