diff options
author | Tofu Buzzard <no-email> | 2011-03-07 15:25:35 -0800 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2011-03-07 15:25:35 -0800 |
commit | 2b0ef47f78f3137b3f9c1f2dfb9e9004ee8cdefe (patch) | |
tree | 29f29ddfabf402f4f906f622cde9bb1e395d664f /indra/newview/lldrawpoolavatar.cpp | |
parent | ead14724086367fedc0be7385f823293a17dddce (diff) | |
parent | f0f126aa4f67264c42057ded8bd59c377a54356e (diff) |
merge
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 48e561b24b..2de4c93ffd 100644 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -334,7 +334,14 @@ void LLDrawPoolAvatar::renderPostDeferred(S32 pass) 9, //rigged glow }; - render(actual_pass[pass]); + pass = actual_pass[pass]; + + if (LLPipeline::sImpostorRender) + { //HACK for impostors so actual pass ends up being proper pass + pass -= 2; + } + + render(pass); } |