Skip to content
Snippets Groups Projects
Commit bfa3f83a authored by Brad Payne (Vir Linden)'s avatar Brad Payne (Vir Linden)
Browse files

merge

parents 6c6a9547 2f6166a5
No related branches found
No related tags found
No related merge requests found
......@@ -1370,10 +1370,14 @@ void LLDAELoader::processDomModel(LLModel* model, DAE* dae, daeElement* root, do
LLMatrix4 newInverse = model->mSkinInfo.mInvBindMatrix[i];
newInverse.setTranslation( mJointList[lookingForJoint].getTranslation() );
model->mSkinInfo.mAlternateBindMatrix.push_back( newInverse );
}
}
else
{
LL_WARNS()<<"Possibly misnamed/missing joint [" <<lookingForJoint.c_str()<<" ] "<<LL_ENDL;
//SL-202 15-31-10 Placeholders for the collision volume joints to keep array aligned.
LLMatrix4 emptyInverse;
emptyInverse.setZero();
model->mSkinInfo.mAlternateBindMatrix.push_back( emptyInverse );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment