Merge pull request #7563 from hyperlogic/tony/jittery-hands-fix

Application: fix for jittery hands when moving.
This commit is contained in:
Brad Davis 2016-04-04 15:58:22 -07:00
commit e86066c1ce

View file

@ -1468,10 +1468,6 @@ void Application::paintGL() {
// update the avatar with a fresh HMD pose
getMyAvatar()->updateFromHMDSensorMatrix(getHMDSensorPose());
// update sensorToWorldMatrix for camera and hand controllers
getMyAvatar()->updateSensorToWorldMatrix();
auto lodManager = DependencyManager::get<LODManager>();
@ -3404,6 +3400,9 @@ void Application::update(float deltaTime) {
avatarManager->updateOtherAvatars(deltaTime);
}
// update sensorToWorldMatrix for camera and hand controllers
getMyAvatar()->updateSensorToWorldMatrix();
qApp->updateMyAvatarLookAtPosition();
{