Showing the changes to interface/src/VoxelSystem.cpp (1 of 5 files). Show all
Unified · Split
| @@ -550,7 +550,7 @@ int VoxelSystem::parseData(const QByteArray& packet) { · 549 unmodified lines | |||
| 550 | int flightTime = arrivedAt - sentAt; | 550 | int flightTime = arrivedAt - sentAt; |
| 551 | 551 | ||
| 552 | OCTREE_PACKET_INTERNAL_SECTION_SIZE sectionLength = 0; | 552 | OCTREE_PACKET_INTERNAL_SECTION_SIZE sectionLength = 0; |
| 553 | size_t dataBytes = packet.size() - (numBytesPacketHeader + OCTREE_PACKET_EXTRA_HEADERS_SIZE); | 553 | unsigned int dataBytes = packet.size() - (numBytesPacketHeader + OCTREE_PACKET_EXTRA_HEADERS_SIZE); |
| 554 | 554 | ||
| 555 | int subsection = 1; | 555 | int subsection = 1; |
| 556 | while (dataBytes > 0) { | 556 | while (dataBytes > 0) { |
| @@ -576,7 +576,7 @@ int VoxelSystem::parseData(const QByteArray& packet) { · 19 unmodified lines | |||
| 576 | packetData.loadFinalizedContent(dataAt, sectionLength); | 576 | packetData.loadFinalizedContent(dataAt, sectionLength); |
| 577 | if (Application::getInstance()->getLogger()->extraDebugging()) { | 577 | if (Application::getInstance()->getLogger()->extraDebugging()) { |
| 578 | qDebug("VoxelSystem::parseData() ... Got Packet Section" | 578 | qDebug("VoxelSystem::parseData() ... Got Packet Section" |
| 579 | " color:%s compressed:%s sequence: %u flight:%d usec size:%d data:%lu" | 579 | " color:%s compressed:%s sequence: %u flight:%d usec size:%d data:%u" |
| 580 | " subsection:%d sectionLength:%d uncompressed:%d", | 580 | " subsection:%d sectionLength:%d uncompressed:%d", |
| 581 | debug::valueOf(packetIsColored), debug::valueOf(packetIsCompressed), | 581 | debug::valueOf(packetIsColored), debug::valueOf(packetIsCompressed), |
| 582 | sequence, flightTime, packet.size(), dataBytes, subsection, sectionLength, | 582 | sequence, flightTime, packet.size(), dataBytes, subsection, sectionLength, |