diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolavatar.cpp')
-rw-r--r-- | linden/indra/newview/lldrawpoolavatar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/lldrawpoolavatar.cpp b/linden/indra/newview/lldrawpoolavatar.cpp index 8e3341a..6cfd131 100644 --- a/linden/indra/newview/lldrawpoolavatar.cpp +++ b/linden/indra/newview/lldrawpoolavatar.cpp | |||
@@ -483,7 +483,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass) | |||
483 | LLVector3 pos = avatarp->getPositionAgent(); | 483 | LLVector3 pos = avatarp->getPositionAgent(); |
484 | 484 | ||
485 | gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f); | 485 | gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f); |
486 | gGL.begin(GL_LINES); | 486 | gGL.begin(LLVertexBuffer::LINES); |
487 | { | 487 | { |
488 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); | 488 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); |
489 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); | 489 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); |
@@ -495,7 +495,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass) | |||
495 | 495 | ||
496 | pos = avatarp->mDrawable->getPositionAgent(); | 496 | pos = avatarp->mDrawable->getPositionAgent(); |
497 | gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f); | 497 | gGL.color4f(1.0f, 0.0f, 0.0f, 0.8f); |
498 | gGL.begin(GL_LINES); | 498 | gGL.begin(LLVertexBuffer::LINES); |
499 | { | 499 | { |
500 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); | 500 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); |
501 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); | 501 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); |
@@ -507,7 +507,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass) | |||
507 | 507 | ||
508 | pos = avatarp->mRoot.getWorldPosition(); | 508 | pos = avatarp->mRoot.getWorldPosition(); |
509 | gGL.color4f(1.0f, 1.0f, 1.0f, 0.8f); | 509 | gGL.color4f(1.0f, 1.0f, 1.0f, 0.8f); |
510 | gGL.begin(GL_LINES); | 510 | gGL.begin(LLVertexBuffer::LINES); |
511 | { | 511 | { |
512 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); | 512 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); |
513 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); | 513 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); |
@@ -519,7 +519,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass) | |||
519 | 519 | ||
520 | pos = avatarp->mPelvisp->getWorldPosition(); | 520 | pos = avatarp->mPelvisp->getWorldPosition(); |
521 | gGL.color4f(0.0f, 0.0f, 1.0f, 0.8f); | 521 | gGL.color4f(0.0f, 0.0f, 1.0f, 0.8f); |
522 | gGL.begin(GL_LINES); | 522 | gGL.begin(LLVertexBuffer::LINES); |
523 | { | 523 | { |
524 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); | 524 | gGL.vertex3fv((pos - LLVector3(0.2f, 0.f, 0.f)).mV); |
525 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); | 525 | gGL.vertex3fv((pos + LLVector3(0.2f, 0.f, 0.f)).mV); |