make it so the skeleton shows through the mesh and prims (good for milfags)

This commit is contained in:
Hazim Gazov
2010-05-10 16:14:16 -03:00
parent 8cb0ea09e9
commit 2376bb0b62

View File

@@ -1577,6 +1577,9 @@ void LLVOAvatar::getSpatialExtents(LLVector3& newMin, LLVector3& newMax)
//-----------------------------------------------------------------------------
void LLVOAvatar::renderCollisionVolumes()
{
//BLATANTLY STOLEN FROM SIMMAN DURRR
LLGLDepthTest gls_depth(GL_FALSE); //make it so the skeleton shows through the mesh and prims (good for milfags)
for (S32 i = 0; i < mNumCollisionVolumes; i++)
{
mCollisionVolumes[i].renderCollision();