mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 18:24:08 +02:00
Merge latest upstream into local repo.
This commit is contained in:
commit
4e51aee00b
3 changed files with 5 additions and 3 deletions
|
@ -416,7 +416,7 @@ int DomainServer::civetwebRequestHandler(struct mg_connection *connection) {
|
||||||
mg_printf(connection, "%s", RESPONSE_200);
|
mg_printf(connection, "%s", RESPONSE_200);
|
||||||
|
|
||||||
// we have a valid UUID and node - kill the node that has this assignment
|
// we have a valid UUID and node - kill the node that has this assignment
|
||||||
NodeList::getInstance()->killNodeWithUUID(deleteUUID);
|
QMetaObject::invokeMethod(NodeList::getInstance(), "killNodeWithUUID", Q_ARG(const QUuid&, deleteUUID));
|
||||||
|
|
||||||
// successfully processed request
|
// successfully processed request
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -19,7 +19,8 @@ bool Controller::computeStars(unsigned numStars, unsigned seed) {
|
||||||
|
|
||||||
this->retile(numStars, _tileResolution);
|
this->retile(numStars, _tileResolution);
|
||||||
|
|
||||||
qDebug() << "Total time to generate stars: " << ((usecTimestampNow() - usecTimestamp(&startTime)) / 1000) << "msec";
|
qDebug() << "Total time to retile and generate stars: "
|
||||||
|
<< ((usecTimestampNow() - usecTimestamp(&startTime)) / 1000) << "msec";
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,6 @@ public:
|
||||||
int fillPingReplyPacket(unsigned char* pingBuffer, unsigned char* replyBuffer);
|
int fillPingReplyPacket(unsigned char* pingBuffer, unsigned char* replyBuffer);
|
||||||
void pingPublicAndLocalSocketsForInactiveNode(Node* node);
|
void pingPublicAndLocalSocketsForInactiveNode(Node* node);
|
||||||
|
|
||||||
void killNodeWithUUID(const QUuid& nodeUUID);
|
|
||||||
void sendKillNode(const char* nodeTypes, int numNodeTypes);
|
void sendKillNode(const char* nodeTypes, int numNodeTypes);
|
||||||
|
|
||||||
SharedNodePointer nodeWithAddress(const HifiSockAddr& senderSockAddr);
|
SharedNodePointer nodeWithAddress(const HifiSockAddr& senderSockAddr);
|
||||||
|
@ -120,6 +119,8 @@ public slots:
|
||||||
void sendDomainServerCheckIn();
|
void sendDomainServerCheckIn();
|
||||||
void pingInactiveNodes();
|
void pingInactiveNodes();
|
||||||
void removeSilentNodes();
|
void removeSilentNodes();
|
||||||
|
|
||||||
|
void killNodeWithUUID(const QUuid& nodeUUID);
|
||||||
signals:
|
signals:
|
||||||
void domainChanged(const QString& domainHostname);
|
void domainChanged(const QString& domainHostname);
|
||||||
void nodeAdded(SharedNodePointer);
|
void nodeAdded(SharedNodePointer);
|
||||||
|
|
Loading…
Reference in a new issue