mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 21:28:06 +02:00
packets should be ignore if they contain local nodeID, not if local entity contains nodeID
This commit is contained in:
parent
08d300afcd
commit
56b005a872
1 changed files with 2 additions and 1 deletions
|
@ -745,7 +745,8 @@ int EntityTreeElement::readElementDataFromBuffer(const unsigned char* data, int
|
|||
EntityTreeElement* currentContainingElement = _myTree->getContainingElement(entityItemID);
|
||||
|
||||
// this Node was the original source of this packet, so read it, but ignore it.
|
||||
bool shouldIgnore = (entityItem && entityItem->getSimulatorID() == myNodeID);
|
||||
// bool shouldIgnore = (entityItem && entityItem->getSimulatorID() == myNodeID); XXX
|
||||
bool shouldIgnore = false;
|
||||
|
||||
bytesForThisEntity = entityItem->readEntityDataFromBuffer(dataAt, bytesLeftToRead, args, shouldIgnore);
|
||||
if (entityItem->getDirtyFlags()) {
|
||||
|
|
Loading…
Reference in a new issue