mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 03:15:21 +02:00
fixed third person shift bug
This commit is contained in:
parent
5715860f6b
commit
923c39cdc0
1 changed files with 1 additions and 1 deletions
|
@ -915,7 +915,7 @@ void Application::idle() {
|
||||||
_myAvatar.simulate(deltaTime, NULL);
|
_myAvatar.simulate(deltaTime, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_myCamera.getMode() != CAMERA_MODE_MIRROR) {
|
if (_myCamera.getMode() != CAMERA_MODE_MIRROR && !OculusManager::isConnected()) {
|
||||||
if (_manualFirstPerson) {
|
if (_manualFirstPerson) {
|
||||||
if (_myCamera.getMode() != CAMERA_MODE_FIRST_PERSON ) {
|
if (_myCamera.getMode() != CAMERA_MODE_FIRST_PERSON ) {
|
||||||
_myCamera.setMode(CAMERA_MODE_FIRST_PERSON);
|
_myCamera.setMode(CAMERA_MODE_FIRST_PERSON);
|
||||||
|
|
Loading…
Reference in a new issue