summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-03-17 17:34:49 -0500
committerDave Parks <davep@lindenlab.com>2011-03-17 17:34:49 -0500
commit2cf093f04e0065a9693b30563660995f4ece3d8b (patch)
tree2d69c825277ccdcb087e5a54ee8a09a425a30eba /indra/newview/llvoavatar.cpp
parent359d0494308451ce1318f0291ebbf0ba58e42f44 (diff)
parent77869c9c1d80998055d35fa099dcb77f45699257 (diff)
Merge
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 87a2c949b1..5f0e4bcded 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -6032,9 +6032,7 @@ void LLVOAvatar::cleanupAttachedMesh( LLViewerObject* pVO )
if ( pSkinData )
{
const int jointCnt = pSkinData->mJointNames.size();
- //19 is a magic number derived from the master joint list
- //TODO# move that joint list into the bone controller and query
- bool fullRig = ( jointCnt>=19 ) ? true : false;
+ bool fullRig = ( jointCnt>=20 ) ? true : false;
if ( fullRig )
{
const int bindCnt = pSkinData->mAlternateBindMatrix.size();