mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +02:00
Merge branch 'master' of https://github.com/worklist/hifi
This commit is contained in:
commit
d386eaa0a5
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ void broadcastAvatarData() {
|
||||||
|
|
||||||
for (NodeList::iterator node = nodeList->begin(); node != nodeList->end(); node++) {
|
for (NodeList::iterator node = nodeList->begin(); node != nodeList->end(); node++) {
|
||||||
if (node->getLinkedData() && node->getType() == NODE_TYPE_AGENT && node->getActiveSocket()) {
|
if (node->getLinkedData() && node->getType() == NODE_TYPE_AGENT && node->getActiveSocket()) {
|
||||||
|
|
||||||
|
// reset packet pointers for this node
|
||||||
|
currentBufferPosition = broadcastPacket + numHeaderBytes;
|
||||||
|
packetLength = currentBufferPosition - broadcastPacket;
|
||||||
|
|
||||||
// this is an AGENT we have received head data from
|
// this is an AGENT we have received head data from
|
||||||
// send back a packet with other active node data to this node
|
// send back a packet with other active node data to this node
|
||||||
for (NodeList::iterator otherNode = nodeList->begin(); otherNode != nodeList->end(); otherNode++) {
|
for (NodeList::iterator otherNode = nodeList->begin(); otherNode != nodeList->end(); otherNode++) {
|
||||||
|
|
Loading…
Reference in a new issue