Showing the changes to interface/src/Application.cpp (1 of 12 files). Show all
Unified · Split
| @@ -987,12 +987,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 986 unmodified lines | ||
| 987 | 987 | resetSensors(); |
| 988 | 988 | break; |
| 989 | 989 | |
| 990 | − case Qt::Key_G: | |
| 991 | − if (isShifted) { | |
| 992 | − Menu::getInstance()->triggerOption(MenuOption::ObeyEnvironmentalGravity); | |
| 993 | − } | |
| 994 | − break; | |
| 995 | − | |
| 996 | 990 | case Qt::Key_A: |
| 997 | 991 | if (isShifted) { |
| 998 | 992 | Menu::getInstance()->triggerOption(MenuOption::Atmosphere); |
| @@ -1165,10 +1159,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 166 unmodified lines | ||
| 1165 | 1159 | break; |
| 1166 | 1160 | } |
| 1167 | 1161 | |
| 1168 | − case Qt::Key_Comma: { | |
| 1169 | − _myAvatar->togglePhysicsEnabled(); | |
| 1170 | − } | |
| 1171 | − | |
| 1172 | 1162 | default: |
| 1173 | 1163 | event->ignore(); |
| 1174 | 1164 | break; |
| @@ -2192,7 +2182,6 @@ void Application::update(float deltaTime) { · 1017 unmodified lines | ||
| 2192 | 2182 | |
| 2193 | 2183 | { |
| 2194 | 2184 | PerformanceTimer perfTimer("physics"); |
| 2195 | − _myAvatar->preSimulation(); | |
| 2196 | 2185 | _physicsEngine.stepSimulation(); |
| 2197 | 2186 | } |
| 2198 | 2187 | |