mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +02:00
Remove HRS logging
This commit is contained in:
parent
d3c2ba5199
commit
800389cf20
4 changed files with 0 additions and 11 deletions
|
@ -347,7 +347,6 @@ void AvatarMixer::broadcastAvatarData() {
|
|||
&& (forceSend
|
||||
|| otherNodeData->getIdentityChangeTimestamp() > _lastFrameTimestamp
|
||||
|| distribution(generator) < IDENTITY_SEND_PROBABILITY)) {
|
||||
qDebug() << "FIXME HRS sending identity to" << node->getUUID() << "from" << otherNode->getUUID() << "gets mine/all/view:" << getsIgnoredByMe << getsAnyIgnored << getsOutOfView ;
|
||||
sendIdentityPacket(otherNodeData, node);
|
||||
}
|
||||
|
||||
|
@ -417,7 +416,6 @@ void AvatarMixer::broadcastAvatarData() {
|
|||
? AvatarData::SendAllData : AvatarData::IncludeSmallData;
|
||||
nodeData->incrementAvatarInView();
|
||||
}
|
||||
//qDebug() << "FIXME HRS sending" << detail << "to" << node->getUUID() << "from" << otherNode->getUUID();
|
||||
|
||||
numAvatarDataBytes += avatarPacketList->write(otherNode->getUUID().toRfc4122());
|
||||
numAvatarDataBytes += avatarPacketList->write(otherAvatar.toByteArray(detail));
|
||||
|
@ -552,14 +550,12 @@ void AvatarMixer::handleViewFrustumPacket(QSharedPointer<ReceivedMessage> messag
|
|||
void AvatarMixer::handleRequestsDomainListDataPacket(QSharedPointer<ReceivedMessage> message, SharedNodePointer senderNode) {
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
nodeList->getOrCreateLinkedData(senderNode);
|
||||
qDebug() << "HRS FIXME received RequestsDomainListData packet from" << senderNode->getUUID();
|
||||
|
||||
if (senderNode->getLinkedData()) {
|
||||
AvatarMixerClientData* nodeData = dynamic_cast<AvatarMixerClientData*>(senderNode->getLinkedData());
|
||||
if (nodeData != nullptr) {
|
||||
bool isRequesting;
|
||||
message->readPrimitive(&isRequesting);
|
||||
qDebug() << "HRS FIXME handling RequestsDomainListData packet" << isRequesting << "from" << nodeData->getNodeID();
|
||||
nodeData->setRequestsDomainListData(isRequesting);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -296,11 +296,6 @@ void Avatar::updateAvatarEntities() {
|
|||
void Avatar::setShouldDie() {
|
||||
// This will cause the avatar to be shrunk away and removed (the actual Avatar gets removed), but then it comes back.
|
||||
_owningAvatarMixer.clear();
|
||||
|
||||
// This removes the avatar from physics and makes it shrink away, but does not actualy remvoe Avatar from Avatar Manager.
|
||||
// FIXME hrs remove, unless it can be made to work cleanly.
|
||||
// (In which case, this could be on AvatarList/AvatarManager instead, and consider moving pal.js usage to Pal.qml, and removing (un)ignoredNode signalling.)
|
||||
//DependencyManager::get<AvatarManager>()->handleRemovedAvatar(AvatarSharedPointer(this), AvatarIgnored);
|
||||
}
|
||||
|
||||
void Avatar::simulate(float deltaTime) {
|
||||
|
|
|
@ -145,7 +145,6 @@ void AvatarHashMap::processAvatarIdentityPacket(QSharedPointer<ReceivedMessage>
|
|||
identity.uuid = EMPTY;
|
||||
}
|
||||
}
|
||||
qDebug() << "FIXME HRS processing identity packet regarding" << identity.uuid << "ignoring:" << nodeList->isIgnoringNode(identity.uuid) << "reqestsDomainList:" << nodeList->getRequestsDomainListData();
|
||||
if (!nodeList->isIgnoringNode(identity.uuid) || nodeList->getRequestsDomainListData()) {
|
||||
// mesh URL for a UUID, find avatar in our list
|
||||
auto avatar = newOrExistingAvatar(identity.uuid, sendingNode);
|
||||
|
|
|
@ -974,7 +974,6 @@ void NodeList::setRequestsDomainListData(bool isRequesting) {
|
|||
auto packet = NLPacket::create(PacketType::RequestsDomainListData, sizeof(bool), true); // reliable
|
||||
packet->writePrimitive(isRequesting);
|
||||
sendPacket(std::move(packet), *destinationNode);
|
||||
qDebug() << "HRS FIXME sending RequestsDomainListData packet" << isRequesting;
|
||||
});
|
||||
_requestsDomainListData = isRequesting;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue