summaryrefslogtreecommitdiff
path: root/indra/llprimitive/lldaeloader.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-10-19 16:34:13 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-10-19 16:34:13 -0400
commitbfa3f83a2cf5d4ca408e7f045cd806a7f5133d9f (patch)
treed6e0c555f8d2f093cf6f5c42f585e3bff258843d /indra/llprimitive/lldaeloader.cpp
parent6c6a95478ecd657c271354d93a6f98c90093bac5 (diff)
parent2f6166a5a4f8d5be679cef0699142c4ef061fb55 (diff)
merge
Diffstat (limited to 'indra/llprimitive/lldaeloader.cpp')
-rw-r--r--indra/llprimitive/lldaeloader.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp
index e7fbbba84e..f9a6dd96b1 100644
--- a/indra/llprimitive/lldaeloader.cpp
+++ b/indra/llprimitive/lldaeloader.cpp
@@ -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 );
}
}