mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
cleanup debug in updateReplicatedNodes
This commit is contained in:
parent
54832d995d
commit
e818a511b9
1 changed files with 4 additions and 3 deletions
|
@ -2239,11 +2239,12 @@ void DomainServer::updateReplicatedNodes() {
|
|||
}, [this](const SharedNodePointer& otherNode) {
|
||||
auto shouldReplicate = shouldReplicateNode(*otherNode);
|
||||
auto isReplicated = otherNode->isReplicated();
|
||||
qDebug() << "Checking " << otherNode->getPermissions().getVerifiedUserName();
|
||||
if (isReplicated && !shouldReplicate) {
|
||||
qDebug() << "Setting node to NOT be replicated: " << otherNode->getUUID();
|
||||
qDebug() << "Setting node to NOT be replicated:"
|
||||
<< otherNode->getPermissions().getVerifiedUserName() << otherNode->getUUID();
|
||||
} else if (!isReplicated && shouldReplicate) {
|
||||
qDebug() << "Setting node to replicated: " << otherNode->getUUID();
|
||||
qDebug() << "Setting node to replicated:"
|
||||
<< otherNode->getPermissions().getVerifiedUserName() << otherNode->getUUID();
|
||||
}
|
||||
otherNode->setIsReplicated(shouldReplicate);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue