mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Merge pull request #7563 from hyperlogic/tony/jittery-hands-fix
Application: fix for jittery hands when moving.
This commit is contained in:
commit
e86066c1ce
1 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue