diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | linden/indra/newview/lldrawpoolavatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolavatar.cpp b/linden/indra/newview/lldrawpoolavatar.cpp index 5518a93..b461757 100644 --- a/linden/indra/newview/lldrawpoolavatar.cpp +++ b/linden/indra/newview/lldrawpoolavatar.cpp | |||
@@ -463,7 +463,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass) | |||
463 | if ((sShaderLevel >= SHADER_LEVEL_CLOTH)) | 463 | if ((sShaderLevel >= SHADER_LEVEL_CLOTH)) |
464 | { | 464 | { |
465 | LLMatrix4 rot_mat; | 465 | LLMatrix4 rot_mat; |
466 | gCamera->getMatrixToLocal(rot_mat); | 466 | LLViewerCamera::getInstance()->getMatrixToLocal(rot_mat); |
467 | LLMatrix4 cfr(OGL_TO_CFR_ROTATION); | 467 | LLMatrix4 cfr(OGL_TO_CFR_ROTATION); |
468 | rot_mat *= cfr; | 468 | rot_mat *= cfr; |
469 | 469 | ||