mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 00:10:52 +02:00
Merge branch 'master' of https://github.com/worklist/hifi
This commit is contained in:
commit
e447818f77
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ int AvatarData::parseDataAtOffset(const QByteArray& packet, int offset) {
|
||||||
_handData = new HandData(this);
|
_handData = new HandData(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
const unsigned char* startPosition = reinterpret_cast<const unsigned char*>(packet.data());
|
const unsigned char* startPosition = reinterpret_cast<const unsigned char*>(packet.data()) + offset;
|
||||||
const unsigned char* sourceBuffer = startPosition + offset;
|
const unsigned char* sourceBuffer = startPosition;
|
||||||
|
|
||||||
// Body world position
|
// Body world position
|
||||||
memcpy(&_position, sourceBuffer, sizeof(float) * 3);
|
memcpy(&_position, sourceBuffer, sizeof(float) * 3);
|
||||||
|
|
Loading…
Reference in a new issue