From 08d93173f0c6ee939c6a9dff0bb8e8a2001923b0 Mon Sep 17 00:00:00 2001 From: Chris Howe Date: Fri, 9 Jun 2017 11:07:56 -0400 Subject: [PATCH] Minor code feedback changes, moving test scripts to developer/tests. --- interface/src/avatar/MyAvatar.cpp | 6 ++---- scripts/{ => developer/tests}/avatarToWorldTests.js | 0 scripts/{ => developer/tests}/worldToAvatarTests.js | 0 3 files changed, 2 insertions(+), 4 deletions(-) rename scripts/{ => developer/tests}/avatarToWorldTests.js (100%) rename scripts/{ => developer/tests}/worldToAvatarTests.js (100%) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index 7a9864a737..fc514de80d 100755 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -779,8 +779,7 @@ glm::vec3 MyAvatar::worldToJointPoint(const glm::vec3& position, const int joint if (jointIndex != -1) { if (_skeletonModel->getJointPositionInWorldFrame(jointIndex, jointPos)) { _skeletonModel->getJointRotationInWorldFrame(jointIndex, jointRot); - } - else { + } else { qWarning() << "Invalid joint index specified: " << jointIndex; } } @@ -816,8 +815,7 @@ glm::vec3 MyAvatar::jointToWorldPoint(const glm::vec3& jointSpacePos, const int if (jointIndex != -1) { if (_skeletonModel->getJointPositionInWorldFrame(jointIndex, jointPos)) { _skeletonModel->getJointRotationInWorldFrame(jointIndex, jointRot); - } - else { + } else { qWarning() << "Invalid joint index specified: " << jointIndex; } } diff --git a/scripts/avatarToWorldTests.js b/scripts/developer/tests/avatarToWorldTests.js similarity index 100% rename from scripts/avatarToWorldTests.js rename to scripts/developer/tests/avatarToWorldTests.js diff --git a/scripts/worldToAvatarTests.js b/scripts/developer/tests/worldToAvatarTests.js similarity index 100% rename from scripts/worldToAvatarTests.js rename to scripts/developer/tests/worldToAvatarTests.js