add a few extra checks for viewers animated objects support, to avoid timming issues

This commit is contained in:
UbitUmarov
2019-03-19 00:47:45 +00:00
parent 199d4a1bd0
commit c2086e6257
2 changed files with 8 additions and 2 deletions

View File

@@ -1710,8 +1710,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_pendingCache.Remove(endPoint);
}
client.CheckViewerCaps();
m_log.DebugFormat("[LLUDPSERVER]: Client created, processing pending queue, {0} entries", queue.Count);
// Reinject queued packets
while (queue.Count > 0)
@@ -1727,6 +1725,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// circuit code to the existing child agent. This is not particularly obvious.
SendAckImmediate(endPoint, uccp.Header.Sequence);
client.CheckViewerCaps();
// We only want to send initial data to new clients, not ones which are being converted from child to root.
if (client != null)
{