History

Display leap hand and rave glove in first person mode

atlante45 committed 13 years ago

Commit c48652c1 parent 81446f12 files · +10 −10Browse files

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

Unified · Split

interface/src/Application.cpp+7−9
@@ -3110,16 +3110,14 @@ void Application::displaySide(Camera& whichCamera) { · 3109 unmodified lines
31103110 }
31113111
31123112 // Render my own Avatar
3113− if (_myCamera.getMode() != CAMERA_MODE_FIRST_PERSON) {
3114− if (_myCamera.getMode() == CAMERA_MODE_MIRROR) {
3115− _myAvatar.getHead().setLookAtPosition(_myCamera.getPosition());
3116− }
3117− _myAvatar.render(_lookingInMirror->isChecked(), _renderAvatarBalls->isChecked());
3118− _myAvatar.setDisplayingLookatVectors(_renderLookatOn->isChecked());
3113+ if (_myCamera.getMode() == CAMERA_MODE_MIRROR) {
3114+ _myAvatar.getHead().setLookAtPosition(_myCamera.getPosition());
3115+ }
3116+ _myAvatar.render(_lookingInMirror->isChecked(), _renderAvatarBalls->isChecked());
3117+ _myAvatar.setDisplayingLookatVectors(_renderLookatOn->isChecked());
31193118
3120− if (_renderLookatIndicatorOn->isChecked() && _isLookingAtOtherAvatar) {
3121− renderLookatIndicator(_lookatOtherPosition, whichCamera);
3122− }
3119+ if (_renderLookatIndicatorOn->isChecked() && _isLookingAtOtherAvatar) {
3120+ renderLookatIndicator(_lookatOtherPosition, whichCamera);
31233121 }
31243122 }
31253123

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t