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