diff options
author | Dave Parks <davep@lindenlab.com> | 2011-11-14 12:33:00 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-11-14 12:33:00 -0600 |
commit | 98e067cad4f919275f170650f3c21c8986f2a0cd (patch) | |
tree | caa9ce5933cb4199adca8522cfa741785aad5f11 /indra/newview/llvoavatar.cpp | |
parent | fabbae5e6e22883696ec7257716be0d5bdbbcfaf (diff) |
SH-2650 Fix for avatar eyeballs protruding from lower eyelids
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 799e1bbfb9..a3550000df 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -2138,7 +2138,15 @@ void LLVOAvatar::updateMeshData() for(S32 k = j ; k < part_index ; k++) { - mMeshLOD[k]->updateFaceData(facep, mAdjustedPixelArea, k == MESH_ID_HAIR, terse_update); + bool rigid = false; + if (k == MESH_ID_EYEBALL_LEFT || + k == MESH_ID_EYEBALL_RIGHT) + { //eyeballs can't have terse updates since they're never rendered with + //the hardware skinning shader + rigid = true; + } + + mMeshLOD[k]->updateFaceData(facep, mAdjustedPixelArea, k == MESH_ID_HAIR, terse_update && !rigid); } stop_glerror(); |