mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
Merge branch 'master' of https://github.com/worklist/hifi
This commit is contained in:
commit
ec2254056c
2 changed files with 5 additions and 1 deletions
|
@ -235,6 +235,11 @@ void ScriptEngine::init() {
|
|||
// let the VoxelPacketSender know how frequently we plan to call it
|
||||
_voxelsScriptingInterface.getVoxelPacketSender()->setProcessCallIntervalHint(SCRIPT_DATA_CALLBACK_USECS);
|
||||
_particlesScriptingInterface.getParticlePacketSender()->setProcessCallIntervalHint(SCRIPT_DATA_CALLBACK_USECS);
|
||||
|
||||
// call srand to seed the random number generator
|
||||
srand(QDateTime::currentMSecsSinceEpoch()
|
||||
+ QCoreApplication::applicationPid()
|
||||
+ NodeList::getInstance()->getNodeSocket().localPort());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@ void ThreadedAssignment::checkInWithDomainServerOrExit() {
|
|||
if (NodeList::getInstance()->getNumNoReplyDomainCheckIns() == MAX_SILENT_DOMAIN_SERVER_CHECK_INS) {
|
||||
setFinished(true);
|
||||
} else {
|
||||
qDebug() << "Sending DS check in. There are" << NodeList::getInstance()->getNumNoReplyDomainCheckIns() << "unreplied.";
|
||||
NodeList::getInstance()->sendDomainServerCheckIn();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue