mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 23:32:48 +02:00
PreCR fixes
This commit is contained in:
parent
06dd9d0376
commit
e0739e4aa8
2 changed files with 1 additions and 2 deletions
|
@ -204,7 +204,7 @@ void Player::play() {
|
||||||
head->setFinalPitch(eulers.x);
|
head->setFinalPitch(eulers.x);
|
||||||
head->setFinalYaw(eulers.y);
|
head->setFinalYaw(eulers.y);
|
||||||
head->setFinalRoll(eulers.z);
|
head->setFinalRoll(eulers.z);
|
||||||
//head->setLookAtPosition(currentFrame.getLookAtPosition());
|
head->setLookAtPosition(currentFrame.getLookAtPosition());
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "WARNING: Player couldn't find head data.";
|
qDebug() << "WARNING: Player couldn't find head data.";
|
||||||
}
|
}
|
||||||
|
|
|
@ -457,7 +457,6 @@ RecordingPointer readRecordingFromFile(RecordingPointer recording, QString filen
|
||||||
|
|
||||||
|
|
||||||
// Check checksum
|
// Check checksum
|
||||||
|
|
||||||
quint16 computedCRC16 = qChecksum(byteArray.constData() + dataOffset, dataLength);
|
quint16 computedCRC16 = qChecksum(byteArray.constData() + dataOffset, dataLength);
|
||||||
if (computedCRC16 != crc16) {
|
if (computedCRC16 != crc16) {
|
||||||
qDebug() << "Checksum does not match. Bailling!";
|
qDebug() << "Checksum does not match. Bailling!";
|
||||||
|
|
Loading…
Reference in a new issue