Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -2352,6 +2352,10 @@ void Application::updateMouseRay() { · 2351 unmodified lines | |||
| 2352 | } | 2352 | } |
| 2353 | } | 2353 | } |
| 2354 | 2354 | ||
| 2355 | // Called during Application::update immediately before AvatarManager::updateMyAvatar, updating my data that is then sent to everyone. | ||
| 2356 | // (Maybe this code should be moved there?) | ||
| 2357 | // The principal result is to call updateLookAtTargetAvatar() and then setLookAtPosition(). | ||
| 2358 | // Note that it is called BEFORE we update position or joints based on sensors, etc. | ||
| 2355 | void Application::updateMyAvatarLookAtPosition() { | 2359 | void Application::updateMyAvatarLookAtPosition() { |
| 2356 | PerformanceTimer perfTimer("lookAt"); | 2360 | PerformanceTimer perfTimer("lookAt"); |
| 2357 | bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); | 2361 | bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings); |