mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 10:36:04 +02:00
Merge branch 'protocol' of https://github.com/birarda/hifi into protocol
This commit is contained in:
commit
ca4e2ed274
2 changed files with 4 additions and 4 deletions
|
@ -588,7 +588,7 @@ void ScriptEngine::run() {
|
|||
const int SCRIPT_AUDIO_BUFFER_BYTES = SCRIPT_AUDIO_BUFFER_SAMPLES * sizeof(int16_t);
|
||||
|
||||
QByteArray avatarByteArray = _avatarData->toByteArray();
|
||||
auto avatarPacket = NLPacket::create(PacketType::AvatarData);
|
||||
auto avatarPacket = NLPacket::create(PacketType::AvatarData, avatarByteArray.size());
|
||||
|
||||
avatarPacket->write(avatarByteArray);
|
||||
|
||||
|
|
Loading…
Reference in a new issue