mirror of
https://github.com/overte-org/overte.git
synced 2025-04-06 14:12:38 +02:00
Merge pull request #14226 from Atlante45/fix/octree-scene-stats
Only track stats for compatible packets
This commit is contained in:
commit
bd480bab80
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@ void OctreePacketProcessor::processPacket(QSharedPointer<ReceivedMessage> messag
|
|||
return; // bail since piggyback version doesn't match
|
||||
}
|
||||
|
||||
qApp->trackIncomingOctreePacket(*message, sendingNode, wasStatsPacket);
|
||||
if (packetType != PacketType::EntityQueryInitialResultsComplete) {
|
||||
qApp->trackIncomingOctreePacket(*message, sendingNode, wasStatsPacket);
|
||||
}
|
||||
|
||||
// seek back to beginning of packet after tracking
|
||||
message->seek(0);
|
||||
|
|
Loading…
Reference in a new issue