mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-10 04:28:21 +02:00
properly call resetVoxelPacket() when suppressing duplicate packets
This commit is contained in:
parent
b10d111891
commit
ce524714d9
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ void VoxelSendThread::handlePacketSend(Node* node, VoxelNodeData* nodeData, int&
|
||||||
// obscure the packet and not send it. This allows the callers and upper level logic to not need to know about
|
// obscure the packet and not send it. This allows the callers and upper level logic to not need to know about
|
||||||
// this rate control savings.
|
// this rate control savings.
|
||||||
if (nodeData->shouldSuppressDuplicatePacket()) {
|
if (nodeData->shouldSuppressDuplicatePacket()) {
|
||||||
|
nodeData->resetVoxelPacket(); // we still need to reset it though!
|
||||||
return; // without sending...
|
return; // without sending...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue