diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llmanip.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/llmanip.cpp')
-rw-r--r-- | linden/indra/newview/llmanip.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llmanip.cpp b/linden/indra/newview/llmanip.cpp index 89f13fe..87e7a13 100644 --- a/linden/indra/newview/llmanip.cpp +++ b/linden/indra/newview/llmanip.cpp | |||
@@ -388,13 +388,13 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z) | |||
388 | 388 | ||
389 | const F32 LINE_ALPHA = 0.33f; | 389 | const F32 LINE_ALPHA = 0.33f; |
390 | 390 | ||
391 | LLGLSNoTexture gls_no_texture; | 391 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
392 | LLUI::setLineWidth(1.5f); | 392 | LLUI::setLineWidth(1.5f); |
393 | 393 | ||
394 | if (draw_x) | 394 | if (draw_x) |
395 | { | 395 | { |
396 | gGL.color4f(1.f, 0.f, 0.f, LINE_ALPHA); | 396 | gGL.color4f(1.f, 0.f, 0.f, LINE_ALPHA); |
397 | gGL.begin(LLVertexBuffer::LINES); | 397 | gGL.begin(LLRender::LINES); |
398 | gGL.vertex3f( -region_size, 0.f, 0.f ); | 398 | gGL.vertex3f( -region_size, 0.f, 0.f ); |
399 | gGL.vertex3f( region_size, 0.f, 0.f ); | 399 | gGL.vertex3f( region_size, 0.f, 0.f ); |
400 | gGL.end(); | 400 | gGL.end(); |
@@ -403,7 +403,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z) | |||
403 | if (draw_y) | 403 | if (draw_y) |
404 | { | 404 | { |
405 | gGL.color4f(0.f, 1.f, 0.f, LINE_ALPHA); | 405 | gGL.color4f(0.f, 1.f, 0.f, LINE_ALPHA); |
406 | gGL.begin(LLVertexBuffer::LINES); | 406 | gGL.begin(LLRender::LINES); |
407 | gGL.vertex3f( 0.f, -region_size, 0.f ); | 407 | gGL.vertex3f( 0.f, -region_size, 0.f ); |
408 | gGL.vertex3f( 0.f, region_size, 0.f ); | 408 | gGL.vertex3f( 0.f, region_size, 0.f ); |
409 | gGL.end(); | 409 | gGL.end(); |
@@ -412,7 +412,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z) | |||
412 | if (draw_z) | 412 | if (draw_z) |
413 | { | 413 | { |
414 | gGL.color4f(0.f, 0.f, 1.f, LINE_ALPHA); | 414 | gGL.color4f(0.f, 0.f, 1.f, LINE_ALPHA); |
415 | gGL.begin(LLVertexBuffer::LINES); | 415 | gGL.begin(LLRender::LINES); |
416 | gGL.vertex3f( 0.f, 0.f, -region_size ); | 416 | gGL.vertex3f( 0.f, 0.f, -region_size ); |
417 | gGL.vertex3f( 0.f, 0.f, region_size ); | 417 | gGL.vertex3f( 0.f, 0.f, region_size ); |
418 | gGL.end(); | 418 | gGL.end(); |