summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-09 01:42:50 -0500
committerDave Parks <davep@lindenlab.com>2010-04-09 01:42:50 -0500
commit49b1995d27e65f1836224c80f3980e133441b0c8 (patch)
tree88c265b324349d54141d882bb99f54b2d0faceb7 /indra/newview/lldrawpoolavatar.cpp
parent164cbaba13514350b76456d707d4fbef35446e39 (diff)
Tweak bias on projectors. Fix some silly shader mistakes.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r--indra/newview/lldrawpoolavatar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 012e41383f..692f75b4a5 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);
}