aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmanip.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:49 -0500
committerJacek Antonelli2008-08-15 23:45:49 -0500
commit8538c0f35dc5fb780f02930256e627e5266ede4a (patch)
tree58950646aae6534fafe680a5cf879d01cd99d254 /linden/indra/newview/llmanip.cpp
parentSecond Life viewer sources 1.20.5 (diff)
downloadmeta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.zip
meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.gz
meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.bz2
meta-impy-8538c0f35dc5fb780f02930256e627e5266ede4a.tar.xz
Second Life viewer sources 1.20.6
Diffstat (limited to 'linden/indra/newview/llmanip.cpp')
-rw-r--r--linden/indra/newview/llmanip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llmanip.cpp b/linden/indra/newview/llmanip.cpp
index 8934266..e0621a3 100644
--- a/linden/indra/newview/llmanip.cpp
+++ b/linden/indra/newview/llmanip.cpp
@@ -391,7 +391,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
391 if (draw_x) 391 if (draw_x)
392 { 392 {
393 gGL.color4f(1.f, 0.f, 0.f, LINE_ALPHA); 393 gGL.color4f(1.f, 0.f, 0.f, LINE_ALPHA);
394 gGL.begin(GL_LINES); 394 gGL.begin(LLVertexBuffer::LINES);
395 gGL.vertex3f( -region_size, 0.f, 0.f ); 395 gGL.vertex3f( -region_size, 0.f, 0.f );
396 gGL.vertex3f( region_size, 0.f, 0.f ); 396 gGL.vertex3f( region_size, 0.f, 0.f );
397 gGL.end(); 397 gGL.end();
@@ -400,7 +400,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
400 if (draw_y) 400 if (draw_y)
401 { 401 {
402 gGL.color4f(0.f, 1.f, 0.f, LINE_ALPHA); 402 gGL.color4f(0.f, 1.f, 0.f, LINE_ALPHA);
403 gGL.begin(GL_LINES); 403 gGL.begin(LLVertexBuffer::LINES);
404 gGL.vertex3f( 0.f, -region_size, 0.f ); 404 gGL.vertex3f( 0.f, -region_size, 0.f );
405 gGL.vertex3f( 0.f, region_size, 0.f ); 405 gGL.vertex3f( 0.f, region_size, 0.f );
406 gGL.end(); 406 gGL.end();
@@ -409,7 +409,7 @@ void LLManip::renderGuidelines(BOOL draw_x, BOOL draw_y, BOOL draw_z)
409 if (draw_z) 409 if (draw_z)
410 { 410 {
411 gGL.color4f(0.f, 0.f, 1.f, LINE_ALPHA); 411 gGL.color4f(0.f, 0.f, 1.f, LINE_ALPHA);
412 gGL.begin(GL_LINES); 412 gGL.begin(LLVertexBuffer::LINES);
413 gGL.vertex3f( 0.f, 0.f, -region_size ); 413 gGL.vertex3f( 0.f, 0.f, -region_size );
414 gGL.vertex3f( 0.f, 0.f, region_size ); 414 gGL.vertex3f( 0.f, 0.f, region_size );
415 gGL.end(); 415 gGL.end();