diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-09 10:44:14 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-09 10:44:14 +0100 |
commit | d1c701dc6b506e3cf6ed222fa651c8032a4141f3 (patch) | |
tree | 942fb33a5b49581558c5aaa39fac3366c11c04a0 /indra/newview/lldrawpoolavatar.cpp | |
parent | 794982dad5bc5c4725830b95245e476de79a80c7 (diff) | |
parent | b13af3b8baa05d20ae9f33046f100596182f6be0 (diff) |
merge?
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 9311a5f60e..23211d7090 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -314,6 +314,11 @@ void LLDrawPoolAvatar::renderShadow(S32 pass) return; } + if (sShaderLevel > 0) + { + gAvatarMatrixParam = sVertexProgram->mUniform[LLViewerShaderMgr::AVATAR_MATRIX]; + } + avatarp->renderSkinned(AVATAR_RENDER_PASS_SINGLE); } |