mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-10 10:34:56 +02:00
Remove unused variable and log message in OctreePersistThread
This commit is contained in:
parent
9afc9d19c5
commit
94069c964d
1 changed files with 0 additions and 3 deletions
|
@ -233,14 +233,11 @@ bool OctreePersistThread::backupCurrentFile() {
|
|||
}
|
||||
|
||||
void OctreePersistThread::process() {
|
||||
auto startedProcessingAt = std::chrono::steady_clock::now();
|
||||
|
||||
_tree->update();
|
||||
|
||||
auto now = std::chrono::steady_clock::now();
|
||||
auto timeSinceLastPersist = now - _lastPersistCheck;
|
||||
|
||||
qDebug() << "Seconds since last persist: " << std::chrono::duration_cast<std::chrono::seconds>(timeSinceLastPersist).count();
|
||||
if (timeSinceLastPersist > _persistInterval) {
|
||||
_lastPersistCheck = now;
|
||||
persist();
|
||||
|
|
Loading…
Reference in a new issue