overte-JulianGro/interface
Phil Palmer 2be87fe7dc Fix VR recentering cases that gave incorrect vertical position.
Fix for MyAvatar sometimes hovering off the ground after foot tracking was enabled.  MyAvatar's body is now recentered when foot-tracking starts or ends (in MyAvatar::update).
Repro:
- Start without foot tracking, 'Allow my avatar to stand: Always'.
- Crouch, and wait a few seconds for the avatar to pop back to the standing position.
- Slowly stand straight so that the avatar raises off the ground without recentering (PS: is this a bug?).  If it recenters, retry from previous step.
- Calibrate foot tracking.  Previously the avatar would remain hovering off the ground until MyAvatar::centerBody was called.

Fix for MyAvatar popping to a standing position if the left foot lost tracking.  The recentering now takes into account if either of the feet are tracked.
Repro:
- Enable foot tracking (and ideally hips tracking).
- Sit on the floor.
- Cover the left foot sensor so it loses tracking.  Previously the avatar and viewpoint would pop to a standing position.

Optimisation: MyAvatar::update now stores bools indicating which body parts are tracked (_isBodyPartTracked).  This avoid unnecessary computations that came from using getControllerPoseInAvatarFrame to convert controller::Pose from sensor space to world space and then to avatar space, only to check if the pose was valid.
2020-12-27 22:13:09 -05:00
..
compiledResources
external remove old/unused eyetracker code 2019-09-17 09:43:32 -07:00
i18n
icon Update interface and server-console icons. 2020-06-07 20:43:38 -04:00
resources Merge pull request #906 from vircadia/fix/update-references 2020-12-15 01:29:47 -05:00
src Fix VR recentering cases that gave incorrect vertical position. 2020-12-27 22:13:09 -05:00
ui Specified color on text edit for console 2019-10-29 15:46:16 -07:00
CMakeLists.txt Set OpenGL_GL_PREFERENCE to LEGACY 2020-10-13 20:13:45 +02:00
interface.entitlements Add entitlements for Launcher and Interface 2019-09-06 11:20:16 -07:00
interface.exe.manifest