diff options
Diffstat (limited to 'linden/indra/newview/llhudeffectlookat.cpp')
-rw-r--r-- | linden/indra/newview/llhudeffectlookat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp index 88ad5d6..0829fb2 100644 --- a/linden/indra/newview/llhudeffectlookat.cpp +++ b/linden/indra/newview/llhudeffectlookat.cpp | |||
@@ -501,8 +501,8 @@ void LLHUDEffectLookAt::render() | |||
501 | 501 | ||
502 | LLVector3 target = mTargetPos + ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->mHeadp->getWorldPosition(); | 502 | LLVector3 target = mTargetPos + ((LLVOAvatar*)(LLViewerObject*)mSourceObject)->mHeadp->getWorldPosition(); |
503 | glMatrixMode(GL_MODELVIEW); | 503 | glMatrixMode(GL_MODELVIEW); |
504 | glPushMatrix(); | 504 | gGL.pushMatrix(); |
505 | glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); | 505 | gGL.translatef(target.mV[VX], target.mV[VY], target.mV[VZ]); |
506 | glScalef(0.3f, 0.3f, 0.3f); | 506 | glScalef(0.3f, 0.3f, 0.3f); |
507 | gGL.begin(LLVertexBuffer::LINES); | 507 | gGL.begin(LLVertexBuffer::LINES); |
508 | { | 508 | { |
@@ -517,7 +517,7 @@ void LLHUDEffectLookAt::render() | |||
517 | gGL.vertex3f(0.f, 0.f, -1.f); | 517 | gGL.vertex3f(0.f, 0.f, -1.f); |
518 | gGL.vertex3f(0.f, 0.f, 1.f); | 518 | gGL.vertex3f(0.f, 0.f, 1.f); |
519 | } gGL.end(); | 519 | } gGL.end(); |
520 | glPopMatrix(); | 520 | gGL.popMatrix(); |
521 | } | 521 | } |
522 | } | 522 | } |
523 | 523 | ||