mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 04:15:55 +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); \
|
bytesRead += sizeof(length); \
|
||||||
QByteArray ba((const char*)dataAt, length); \
|
QByteArray ba((const char*)dataAt, length); \
|
||||||
QUuid value = QUuid::fromRfc4122(ba); \
|
QUuid value = QUuid::fromRfc4122(ba); \
|
||||||
qDebug() << "UUID" << value; \
|
qDebug() << "READING UUID" << (unsigned int)ba[0] << (unsigned int)ba[1] << value << length; \
|
||||||
dataAt += length; \
|
dataAt += length; \
|
||||||
bytesRead += length; \
|
bytesRead += length; \
|
||||||
if (overwriteLocalData) { \
|
if (overwriteLocalData) { \
|
||||||
|
|
|
@ -418,6 +418,7 @@ bool OctreePacketData::appendValue(const QUuid& uuid) {
|
||||||
bool success = appendValue(length);
|
bool success = appendValue(length);
|
||||||
if (success) {
|
if (success) {
|
||||||
success = appendRawData((const unsigned char*)bytes.constData(), bytes.size());
|
success = appendRawData((const unsigned char*)bytes.constData(), bytes.size());
|
||||||
|
qDebug() << "SENDING UUID" << (unsigned int)bytes[0] << (unsigned int)bytes[1] << uuid << length;
|
||||||
}
|
}
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue