mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Put the debugging back in.
This commit is contained in:
parent
6dae9db01d
commit
19180ad900
1 changed files with 4 additions and 0 deletions
|
@ -827,6 +827,8 @@ void Application::terminate() {
|
|||
static void sendAvatarVoxelURLMessage(const QUrl& url) {
|
||||
uint16_t ownerID = AgentList::getInstance()->getOwnerID();
|
||||
|
||||
qDebug() << "me" << ownerID << url;
|
||||
|
||||
if (ownerID == UNKNOWN_AGENT_ID) {
|
||||
return; // we don't yet know who we are
|
||||
}
|
||||
|
@ -848,6 +850,8 @@ static void processAvatarVoxelURLMessage(unsigned char *packetData, size_t dataB
|
|||
packetData += sizeof(agentID);
|
||||
dataBytes -= sizeof(agentID);
|
||||
|
||||
qDebug() << "them" << agentID << QUrl::fromEncoded(QByteArray((char*)packetData, dataBytes));
|
||||
|
||||
// make sure the agent exists
|
||||
Agent* agent = AgentList::getInstance()->agentWithID(agentID);
|
||||
if (!agent || !agent->getLinkedData()) {
|
||||
|
|
Loading…
Reference in a new issue