mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 07:09:47 +02:00
use macro for AvatarMixer, show type for unknown
This commit is contained in:
parent
0b700d690a
commit
432048addf
2 changed files with 3 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
/// Handles assignments of type AvatarMixer - distribution of avatar data to various clients
|
/// Handles assignments of type AvatarMixer - distribution of avatar data to various clients
|
||||||
class AvatarMixer : public ThreadedAssignment {
|
class AvatarMixer : public ThreadedAssignment {
|
||||||
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
AvatarMixer(NLPacket& packet);
|
AvatarMixer(NLPacket& packet);
|
||||||
~AvatarMixer();
|
~AvatarMixer();
|
||||||
|
@ -26,7 +27,6 @@ public slots:
|
||||||
/// runs the avatar mixer
|
/// runs the avatar mixer
|
||||||
void run();
|
void run();
|
||||||
|
|
||||||
void nodeAdded(SharedNodePointer nodeAdded);
|
|
||||||
void nodeKilled(SharedNodePointer killedNode);
|
void nodeKilled(SharedNodePointer killedNode);
|
||||||
|
|
||||||
void sendStatsPacket();
|
void sendStatsPacket();
|
||||||
|
|
|
@ -206,8 +206,8 @@ bool LimitedNodeList::packetSourceAndHashMatch(const NLPacket& packet, SharedNod
|
||||||
static QString repeatedMessage
|
static QString repeatedMessage
|
||||||
= LogHandler::getInstance().addRepeatedMessageRegex("Packet of type \\d+ received from unknown node with UUID");
|
= LogHandler::getInstance().addRepeatedMessageRegex("Packet of type \\d+ received from unknown node with UUID");
|
||||||
|
|
||||||
qCDebug(networking) << "Packet of type" << packet.getType() << "received from unknown node with UUID"
|
qCDebug(networking) << "Packet of type" << packet.getType() << "(" << nameForPacketType(packet.getType()) << ")"
|
||||||
<< qPrintable(uuidStringWithoutCurlyBraces(packet.getSourceID()));
|
<< "received from unknown node with UUID" << qPrintable(uuidStringWithoutCurlyBraces(packet.getSourceID()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue