Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 121 files). Show all
Unified · Split
| @@ -167,8 +167,7 @@ bool MetavoxelSystem::PointVisitor::visit(MetavoxelInfo& info) { · 166 unmodified lines | |||
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | static QByteArray createDatagramHeader(const QUuid& sessionID) { | 169 | static QByteArray createDatagramHeader(const QUuid& sessionID) { |
| 170 | QByteArray header(MAX_PACKET_HEADER_BYTES, 0); | 170 | QByteArray header = byteArrayWithPopluatedHeader(PacketTypeMetavoxelData); |
| 171 | populateTypeAndVersion(reinterpret_cast<unsigned char*>(header.data()), PACKET_TYPE_METAVOXEL_DATA); | ||
| 172 | header += sessionID.toRfc4122(); | 171 | header += sessionID.toRfc4122(); |
| 173 | return header; | 172 | return header; |
| 174 | } | 173 | } |