mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 22:39:18 +02:00
Merge pull request #710 from birarda/master
don't not kill NODE_TYPE_VOXEL_SERVER
This commit is contained in:
commit
12c519cbac
1 changed files with 1 additions and 2 deletions
|
@ -472,8 +472,7 @@ void *removeSilentNodes(void *args) {
|
||||||
|
|
||||||
for(NodeList::iterator node = nodeList->begin(); node != nodeList->end(); ++node) {
|
for(NodeList::iterator node = nodeList->begin(); node != nodeList->end(); ++node) {
|
||||||
|
|
||||||
if ((checkTimeUSecs - node->getLastHeardMicrostamp()) > NODE_SILENCE_THRESHOLD_USECS
|
if ((checkTimeUSecs - node->getLastHeardMicrostamp()) > NODE_SILENCE_THRESHOLD_USECS) {
|
||||||
&& node->getType() != NODE_TYPE_VOXEL_SERVER) {
|
|
||||||
|
|
||||||
qDebug() << "Killed" << *node << "\n";
|
qDebug() << "Killed" << *node << "\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue