aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmanip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llmanip.cpp')
-rw-r--r--linden/indra/newview/llmanip.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llmanip.cpp b/linden/indra/newview/llmanip.cpp
index 89f13fe..d70a4b4 100644
--- a/linden/indra/newview/llmanip.cpp
+++ b/linden/indra/newview/llmanip.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -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();