mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Fix issue with overlay stuck to face
This commit is contained in:
parent
c69665e0fe
commit
86a51806a5
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void OpenVrDisplayPlugin::resetSensors() {
|
|||
}
|
||||
|
||||
glm::mat4 OpenVrDisplayPlugin::getEyePose(Eye eye) const {
|
||||
return _eyesData[eye]._eyeOffset;
|
||||
return getHeadPose() * _eyesData[eye]._eyeOffset;
|
||||
}
|
||||
|
||||
glm::mat4 OpenVrDisplayPlugin::getHeadPose() const {
|
||||
|
|
Loading…
Reference in a new issue