mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Merge branch 'protocol' of https://github.com/Atlante45/hifi into atp
This commit is contained in:
commit
8e693bfee7
1 changed files with 6 additions and 5 deletions
|
@ -280,14 +280,15 @@ int OctreeInboundPacketProcessor::sendNackPackets() {
|
|||
++it;
|
||||
}
|
||||
|
||||
packetsSent = nackPacketList.getNumPackets();
|
||||
|
||||
if (packetsSent) {
|
||||
if (nackPacketList.getNumPackets()) {
|
||||
qDebug() << "NACK Sent back to editor/client... destinationNode=" << nodeUUID;
|
||||
|
||||
packetsSent += nackPacketList.getNumPackets();
|
||||
|
||||
// send the list of nack packets
|
||||
nodeList->sendPacketList(nackPacketList, destinationNode);
|
||||
}
|
||||
|
||||
// send the list of nack packets
|
||||
nodeList->sendPacketList(nackPacketList, destinationNode);
|
||||
}
|
||||
|
||||
return packetsSent;
|
||||
|
|
Loading…
Reference in a new issue