Avoid sending DisableSimulator event to the root agent upon logout.
parent
36ee0e8fb9
commit
4b81ec02d7
|
@ -3130,6 +3130,9 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
// m_sceneGraph.removeUserCount(true);
|
||||
// }
|
||||
|
||||
// Don't do this to root agents on logout, it's not nice for the viewer
|
||||
if (presence.IsChildAgent)
|
||||
{
|
||||
// Tell a single agent to disconnect from the region.
|
||||
IEventQueue eq = RequestModuleInterface<IEventQueue>();
|
||||
if (eq != null)
|
||||
|
@ -3139,7 +3142,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
else
|
||||
presence.ControllingClient.SendShutdownConnectionNotice();
|
||||
|
||||
}
|
||||
presence.ControllingClient.Close(true);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue