aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerjoint.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/llviewerjoint.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 '')
-rw-r--r--linden/indra/newview/llviewerjoint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerjoint.cpp b/linden/indra/newview/llviewerjoint.cpp
index bea90e6..71f9211 100644
--- a/linden/indra/newview/llviewerjoint.cpp
+++ b/linden/indra/newview/llviewerjoint.cpp
@@ -148,7 +148,7 @@ void LLViewerJoint::renderSkeleton(BOOL recursive)
148 //---------------------------------------------------------------- 148 //----------------------------------------------------------------
149 if (mComponents & SC_AXES) 149 if (mComponents & SC_AXES)
150 { 150 {
151 gGL.begin(GL_LINES); 151 gGL.begin(LLVertexBuffer::LINES);
152 gGL.color3f( 1.0f, 0.0f, 0.0f ); 152 gGL.color3f( 1.0f, 0.0f, 0.0f );
153 gGL.vertex3f( 0.0f, 0.0f, 0.0f ); 153 gGL.vertex3f( 0.0f, 0.0f, 0.0f );
154 gGL.vertex3f( 0.1f, 0.0f, 0.0f ); 154 gGL.vertex3f( 0.1f, 0.0f, 0.0f );
@@ -170,7 +170,7 @@ void LLViewerJoint::renderSkeleton(BOOL recursive)
170 { 170 {
171 gGL.color3f( 1.0f, 1.0f, 0.0f ); 171 gGL.color3f( 1.0f, 1.0f, 0.0f );
172 172
173 gGL.begin(GL_TRIANGLES); 173 gGL.begin(LLVertexBuffer::TRIANGLES);
174 174
175 // joint top half 175 // joint top half
176 glNormal3f(nc, nc, nc); 176 glNormal3f(nc, nc, nc);
@@ -360,7 +360,7 @@ void LLViewerJoint::drawBone()
360 // render the bone 360 // render the bone
361 gGL.color3f( 0.5f, 0.5f, 0.0f ); 361 gGL.color3f( 0.5f, 0.5f, 0.0f );
362 362
363 gGL.begin(GL_TRIANGLES); 363 gGL.begin(LLVertexBuffer::TRIANGLES);
364 364
365 gGL.vertex3f( length, 0.0f, 0.0f); 365 gGL.vertex3f( length, 0.0f, 0.0f);
366 gGL.vertex3f( 0.0f, boneSize, 0.0f); 366 gGL.vertex3f( 0.0f, boneSize, 0.0f);