mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +02:00
Some debugging to use on the other machine.
This commit is contained in:
parent
da78c70a68
commit
f197b4cd62
1 changed files with 5 additions and 0 deletions
|
@ -826,6 +826,9 @@ 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
|
||||
}
|
||||
|
@ -847,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