mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 05:44:50 +02:00
fix build error
This commit is contained in:
parent
a9b1a38665
commit
8e086a8fc8
1 changed files with 18 additions and 16 deletions
|
@ -2863,7 +2863,7 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case Qt::Key_H:
|
case Qt::Key_H: {
|
||||||
// whenever switching to/from full screen mirror from the keyboard, remember
|
// whenever switching to/from full screen mirror from the keyboard, remember
|
||||||
// the state you were in before full screen mirror, and return to that.
|
// the state you were in before full screen mirror, and return to that.
|
||||||
auto previousMode = _myCamera.getMode();
|
auto previousMode = _myCamera.getMode();
|
||||||
|
@ -2904,6 +2904,8 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
||||||
}
|
}
|
||||||
cameraMenuChanged();
|
cameraMenuChanged();
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case Qt::Key_P: {
|
case Qt::Key_P: {
|
||||||
if (!(isShifted || isMeta || isOption)) {
|
if (!(isShifted || isMeta || isOption)) {
|
||||||
bool isFirstPersonChecked = Menu::getInstance()->isOptionChecked(MenuOption::FirstPerson);
|
bool isFirstPersonChecked = Menu::getInstance()->isOptionChecked(MenuOption::FirstPerson);
|
||||||
|
|
Loading…
Reference in a new issue