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

cpu-performance
Diva Canto 2013-07-22 20:49:40 -07:00
parent 8d1108e542
commit 01561166aa
1 changed files with 3 additions and 2 deletions

View File

@ -1627,9 +1627,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
bool ready = false;
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)
ready = true;
else