diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index bb71896..7944548 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2363,6 +2363,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2363 | /// <param name="client"></param> | 2363 | /// <param name="client"></param> |
2364 | public override void AddNewClient(IClientAPI client) | 2364 | public override void AddNewClient(IClientAPI client) |
2365 | { | 2365 | { |
2366 | ClientManager.Add(client); | ||
2367 | |||
2366 | CheckHeartbeat(); | 2368 | CheckHeartbeat(); |
2367 | SubscribeToClientEvents(client); | 2369 | SubscribeToClientEvents(client); |
2368 | ScenePresence presence; | 2370 | ScenePresence presence; |
@@ -3002,7 +3004,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3002 | agentTransactions.RemoveAgentAssetTransactions(agentID); | 3004 | agentTransactions.RemoveAgentAssetTransactions(agentID); |
3003 | } | 3005 | } |
3004 | 3006 | ||
3007 | // Remove the avatar from the scene | ||
3005 | m_sceneGraph.RemoveScenePresence(agentID); | 3008 | m_sceneGraph.RemoveScenePresence(agentID); |
3009 | ClientManager.Remove(agentID); | ||
3006 | 3010 | ||
3007 | try | 3011 | try |
3008 | { | 3012 | { |