This commit is contained in:
Jeffrey Ventrella 2013-05-29 11:43:42 -07:00
parent f02e8dae23
commit ab3b0c8aa3

View file

@ -1130,7 +1130,7 @@ void Avatar::renderBody(bool lookingInMirror) {
// Always render other people, and render myself when beyond threshold distance // Always render other people, and render myself when beyond threshold distance
if (b == AVATAR_JOINT_HEAD_BASE) { // the head is rendered as a special if (b == AVATAR_JOINT_HEAD_BASE) { // the head is rendered as a special
if (lookingInMirror || _owningAgent || distanceToCamera > RENDER_OPAQUE_BEYOND * 0.5) { if (lookingInMirror || _owningAgent || distanceToCamera > RENDER_OPAQUE_BEYOND * 0.5) {
_head.render(lookingInMirror, _cameraPosition, 1.f); _head.render(lookingInMirror, _cameraPosition, alpha);
} }
} else if (_owningAgent || distanceToCamera > RENDER_TRANSLUCENT_BEYOND } else if (_owningAgent || distanceToCamera > RENDER_TRANSLUCENT_BEYOND
|| b == AVATAR_JOINT_RIGHT_ELBOW || b == AVATAR_JOINT_RIGHT_ELBOW