mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
more debugging
This commit is contained in:
parent
ea8dcfa5b5
commit
3b2a15f76a
2 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,7 @@
|
|||
bytesRead += sizeof(length); \
|
||||
QByteArray ba((const char*)dataAt, length); \
|
||||
QUuid value = QUuid::fromRfc4122(ba); \
|
||||
qDebug() << "UUID" << value; \
|
||||
qDebug() << "READING UUID" << (unsigned int)ba[0] << (unsigned int)ba[1] << value << length; \
|
||||
dataAt += length; \
|
||||
bytesRead += length; \
|
||||
if (overwriteLocalData) { \
|
||||
|
|
|
@ -418,6 +418,7 @@ bool OctreePacketData::appendValue(const QUuid& uuid) {
|
|||
bool success = appendValue(length);
|
||||
if (success) {
|
||||
success = appendRawData((const unsigned char*)bytes.constData(), bytes.size());
|
||||
qDebug() << "SENDING UUID" << (unsigned int)bytes[0] << (unsigned int)bytes[1] << uuid << length;
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue