mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
debugging
This commit is contained in:
parent
5ce39b74fd
commit
21519c6418
1 changed files with 7 additions and 5 deletions
|
@ -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> avatarManager = DependencyManager::get<AvatarManager>();
|
||||
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<QUuid, AvatarSharedPointer>::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;
|
||||
|
|
Loading…
Reference in a new issue