mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
Remove avatar packet processing from Agent
This commit is contained in:
parent
1fb4c13b3c
commit
5c831efe64
1 changed files with 0 additions and 12 deletions
|
@ -118,18 +118,6 @@ void Agent::readPendingDatagrams() {
|
|||
// let this continue through to the NodeList so it updates last heard timestamp
|
||||
// for the sending audio mixer
|
||||
DependencyManager::get<NodeList>()->processNodeData(senderSockAddr, receivedPacket);
|
||||
} else if (datagramPacketType == PacketType::BulkAvatarData
|
||||
|| datagramPacketType == PacketType::AvatarIdentity
|
||||
|| datagramPacketType == PacketType::AvatarBillboard
|
||||
|| datagramPacketType == PacketType::KillAvatar) {
|
||||
// let the avatar hash map process it
|
||||
DependencyManager::get<AvatarHashMap>()->processAvatarMixerDatagram(receivedPacket, nodeList->sendingNodeForPacket(receivedPacket));
|
||||
|
||||
// let this continue through to the NodeList so it updates last heard timestamp
|
||||
// for the sending avatar-mixer
|
||||
DependencyManager::get<NodeList>()->processNodeData(senderSockAddr, receivedPacket);
|
||||
} else {
|
||||
DependencyManager::get<NodeList>()->processNodeData(senderSockAddr, receivedPacket);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue