aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolmorph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltoolmorph.cpp')
-rw-r--r--linden/indra/newview/lltoolmorph.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/newview/lltoolmorph.cpp b/linden/indra/newview/lltoolmorph.cpp
index ca3d0e7..a779554 100644
--- a/linden/indra/newview/lltoolmorph.cpp
+++ b/linden/indra/newview/lltoolmorph.cpp
@@ -234,10 +234,7 @@ BOOL LLVisualParamHint::render()
234 { 234 {
235 LLDrawPoolAvatar *avatarPoolp = (LLDrawPoolAvatar *)avatarp->mDrawable->getFace(0)->getPool(); 235 LLDrawPoolAvatar *avatarPoolp = (LLDrawPoolAvatar *)avatarp->mDrawable->getFace(0)->getPool();
236 LLGLDepthTest gls_depth(GL_TRUE, GL_TRUE); 236 LLGLDepthTest gls_depth(GL_TRUE, GL_TRUE);
237 gPipeline.unbindAGP(); 237 avatarPoolp->renderAvatars(avatarp); // renders only one avatar
238 avatarPoolp->syncAGP();
239 gPipeline.bindAGP();
240 avatarPoolp->renderAvatars(avatarp, TRUE); // renders only one avatar (no shaders)
241 } 238 }
242 avatarp->setVisualParamWeight(mVisualParam, mLastParamWeight); 239 avatarp->setVisualParamWeight(mVisualParam, mLastParamWeight);
243 240