History

Synchronize eye joint and debugging vectors when the other avatar is looking at me.

Howard Stearns committed 11 years ago

Commit d28c5551 parent 74f695c5 files · +47 −11Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -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.
2355void Application::updateMyAvatarLookAtPosition() {2359void 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);