Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -1051,20 +1051,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 1050 unmodified lines | |||
| 1051 | case Qt::Key_R: | 1051 | case Qt::Key_R: |
| 1052 | if (isShifted) { | 1052 | if (isShifted) { |
| 1053 | Menu::getInstance()->triggerOption(MenuOption::FrustumRenderMode); | 1053 | Menu::getInstance()->triggerOption(MenuOption::FrustumRenderMode); |
| 1054 | } else if (isMeta) { | ||
| 1055 | if (_myAvatar->isRecording()) { | ||
| 1056 | _myAvatar->stopRecording(); | ||
| 1057 | } else { | ||
| 1058 | _myAvatar->startRecording(); | ||
| 1059 | _audio.setRecorder(_myAvatar->getRecorder()); | ||
| 1060 | } | ||
| 1061 | } else { | ||
| 1062 | if (_myAvatar->isPlaying()) { | ||
| 1063 | _myAvatar->stopPlaying(); | ||
| 1064 | } else { | ||
| 1065 | _myAvatar->startPlaying(); | ||
| 1066 | _audio.setPlayer(_myAvatar->getPlayer()); | ||
| 1067 | } | ||
| 1068 | } | 1054 | } |
| 1069 | break; | 1055 | break; |
| 1070 | case Qt::Key_Percent: | 1056 | case Qt::Key_Percent: |