mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Consolidated adding / removing ClientManager IClientAPIs to two places in Scene
* Added some missing implementations of IClientAPI.RemoteEndPoint * Added a ClientManager.Remove(UUID) overload * Removed a reference to a missing project from prebuild.xml
This commit is contained in:
@@ -2363,6 +2363,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name="client"></param>
|
||||
public override void AddNewClient(IClientAPI client)
|
||||
{
|
||||
ClientManager.Add(client);
|
||||
|
||||
CheckHeartbeat();
|
||||
SubscribeToClientEvents(client);
|
||||
ScenePresence presence;
|
||||
@@ -3002,7 +3004,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
agentTransactions.RemoveAgentAssetTransactions(agentID);
|
||||
}
|
||||
|
||||
// Remove the avatar from the scene
|
||||
m_sceneGraph.RemoveScenePresence(agentID);
|
||||
ClientManager.Remove(agentID);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user