mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
peek the nodeID to keep message in right place
This commit is contained in:
parent
e818a511b9
commit
9407a65f80
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ SharedNodePointer addOrUpdateReplicatedNode(const QUuid& nodeID, const HifiSockA
|
|||
|
||||
void AvatarMixer::handleReplicatedPackets(QSharedPointer<ReceivedMessage> message) {
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
auto nodeID = QUuid::fromRfc4122(message->readWithoutCopy(NUM_BYTES_RFC4122_UUID));
|
||||
auto nodeID = QUuid::fromRfc4122(message->peek(NUM_BYTES_RFC4122_UUID));
|
||||
|
||||
auto replicatedNode = addOrUpdateReplicatedNode(nodeID, message->getSenderSockAddr());
|
||||
|
||||
|
|
Loading…
Reference in a new issue