Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -387,10 +387,10 @@ void Application::paintGL() { · 386 unmodified lines | |||
| 387 | _myCamera.setTightness(0.0f); | 387 | _myCamera.setTightness(0.0f); |
| 388 | _myCamera.setDistance(0.3f); | 388 | _myCamera.setDistance(0.3f); |
| 389 | glm::vec3 targetPosition = _myAvatar.getUprightHeadPosition(); | 389 | glm::vec3 targetPosition = _myAvatar.getUprightHeadPosition(); |
| 390 | if (_myAvatar.getHead().getBlendFace().isActive()) { | 390 | if (_myAvatar.getHead().getFaceModel().isActive()) { |
| 391 | // make sure we're aligned to the blend face eyes | 391 | // make sure we're aligned to the blend face eyes |
| 392 | glm::vec3 leftEyePosition, rightEyePosition; | 392 | glm::vec3 leftEyePosition, rightEyePosition; |
| 393 | if (_myAvatar.getHead().getBlendFace().getEyePositions(leftEyePosition, rightEyePosition, true)) { | 393 | if (_myAvatar.getHead().getFaceModel().getEyePositions(leftEyePosition, rightEyePosition)) { |
| 394 | targetPosition = (leftEyePosition + rightEyePosition) * 0.5f; | 394 | targetPosition = (leftEyePosition + rightEyePosition) * 0.5f; |
| 395 | } | 395 | } |
| 396 | } | 396 | } |