mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
display the Avatar's hand in first person
This commit is contained in:
parent
d2de76d5c3
commit
b46bd1fd41
1 changed files with 3 additions and 1 deletions
|
@ -514,7 +514,9 @@ float MyAvatar::getBallRenderAlpha(int ball, bool lookingInMirror) const {
|
||||||
void MyAvatar::renderBody(bool lookingInMirror, bool renderAvatarBalls) {
|
void MyAvatar::renderBody(bool lookingInMirror, bool renderAvatarBalls) {
|
||||||
|
|
||||||
if (Application::getInstance()->getCamera()->getMode() == CAMERA_MODE_FIRST_PERSON) {
|
if (Application::getInstance()->getCamera()->getMode() == CAMERA_MODE_FIRST_PERSON) {
|
||||||
// Dont display body
|
// Dont display body, only the hand
|
||||||
|
_hand.render(lookingInMirror);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue