mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +02:00
Fix other avatar not rendered in first person
This commit is contained in:
parent
b6adb14a16
commit
4449b46466
1 changed files with 1 additions and 1 deletions
|
@ -1427,7 +1427,7 @@ float Avatar::getBallRenderAlpha(int ball, bool lookingInMirror) const {
|
||||||
|
|
||||||
void Avatar::renderBody(bool lookingInMirror, bool renderAvatarBalls) {
|
void Avatar::renderBody(bool lookingInMirror, bool renderAvatarBalls) {
|
||||||
|
|
||||||
if (Application::getInstance()->getCamera()->getMode() == CAMERA_MODE_FIRST_PERSON) {
|
if (isMyAvatar() && Application::getInstance()->getCamera()->getMode() == CAMERA_MODE_FIRST_PERSON) {
|
||||||
// Dont display body
|
// Dont display body
|
||||||
} else if (_head.getFace().isFullFrame()) {
|
} else if (_head.getFace().isFullFrame()) {
|
||||||
// Render the full-frame video
|
// Render the full-frame video
|
||||||
|
|
Loading…
Reference in a new issue