One more thing to test in order to let CompleteMovement go up the stack.

TeleportWork
Diva Canto 2013-07-22 20:49:40 -07:00
parent 14530b2607
commit e6a0f6e428
1 changed files with 3 additions and 2 deletions

View File

@ -1635,9 +1635,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
bool ready = false; bool ready = false;
while (!ready && count-- > 0) while (!ready && count-- > 0)
{ {
if (m_scene.TryGetClient(endPoint, out client) && client.IsActive) if (m_scene.TryGetClient(endPoint, out client) && client.IsActive && client.SceneAgent != null)
{ {
LLUDPClient udpClient = ((LLClientView)client).UDPClient; LLClientView llClientView = (LLClientView)client;
LLUDPClient udpClient = llClientView.UDPClient;
if (udpClient != null && udpClient.IsConnected) if (udpClient != null && udpClient.IsConnected)
ready = true; ready = true;
else else