From 5ebefadda1e4ffb97dd3459599e41b9c137004ea Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 15 Oct 2015 09:07:35 -0700 Subject: [PATCH] remove some debugging --- interface/src/Application.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 733858dd7e..e0e5003830 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2054,42 +2054,11 @@ void Application::checkFPS() { _timerStart.start(); } -uint64_t lastReport = usecTimestampNow(); // XXX - - void Application::idle() { if (_aboutToQuit) { return; // bail early, nothing to do here. } - - // XXX - { // XXX - uint64_t now = usecTimestampNow(); - if (now - lastReport > 6 * USECS_PER_SECOND) { - QSharedPointer avatarManager = DependencyManager::get(); - const AvatarHash& avatarHash = avatarManager->getAvatarHash(); - - qDebug() << "-----------------------"; - - qDebug() << "my left palm:" << getMyAvatar()->getLeftPalmPosition() - << " my chest:" << getMyAvatar()->getChestPosition(); - - QHash::const_iterator i; - for (i = avatarHash.begin(); i != avatarHash.end(); ++i) { - std::shared_ptr otherAvatar = std::static_pointer_cast(i.value()); - if (otherAvatar->getSessionUUID() == getMyAvatar()->getSessionUUID()) { - continue; - } - qDebug() << "their left palm:" << otherAvatar->getLeftPalmPosition() - << " their chest:" << otherAvatar->getChestPosition(); - }; - - lastReport = now; - } - } // XXX - // XXX - // depending on whether we're throttling or not. // Once rendering is off on another thread we should be able to have Application::idle run at start(0) in // perpetuity and not expect events to get backed up.