From 21519c6418d3566072b5784df5a7eb9e0fe5d833 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 14 Oct 2015 14:13:08 -0700 Subject: [PATCH] debugging --- interface/src/Application.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 7415e7d297..733858dd7e 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2066,12 +2066,14 @@ void Application::idle() { // XXX { // XXX uint64_t now = usecTimestampNow(); - if (now - lastReport > 4 * USECS_PER_SECOND) { + if (now - lastReport > 6 * USECS_PER_SECOND) { QSharedPointer avatarManager = DependencyManager::get(); const AvatarHash& avatarHash = avatarManager->getAvatarHash(); - glm::vec3 myLeftPalm = getMyAvatar()->getLeftPalmPosition(); - qDebug() << "my left palm:" << myLeftPalm; + qDebug() << "-----------------------"; + + qDebug() << "my left palm:" << getMyAvatar()->getLeftPalmPosition() + << " my chest:" << getMyAvatar()->getChestPosition(); QHash::const_iterator i; for (i = avatarHash.begin(); i != avatarHash.end(); ++i) { @@ -2079,8 +2081,8 @@ void Application::idle() { if (otherAvatar->getSessionUUID() == getMyAvatar()->getSessionUUID()) { continue; } - glm::vec3 theirLeftPalm = otherAvatar->getLeftPalmPosition(); - qDebug() << "their left palm:" << theirLeftPalm; + qDebug() << "their left palm:" << otherAvatar->getLeftPalmPosition() + << " their chest:" << otherAvatar->getChestPosition(); }; lastReport = now;