Update fbxRMesh.cpp

This commit is contained in:
flashk 2018-10-03 09:52:10 -07:00 committed by GitHub
parent 0e2e81273b
commit 79120eb994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -419,8 +419,7 @@ void addBindMatrix(
const osg::Matrix& bindMatrix, const osg::Matrix& bindMatrix,
osgAnimation::RigGeometry* pRigGeometry) osgAnimation::RigGeometry* pRigGeometry)
{ {
boneBindMatrices.insert(BindMatrixMap::value_type( boneBindMatrices[pBone][bindMatrix].insert(pRigGeometry);
BindMatrixMap::key_type(pBone, pRigGeometry), bindMatrix));
} }
void addVec2ArrayElement(osg::Array& a, const FbxVector2& v) void addVec2ArrayElement(osg::Array& a, const FbxVector2& v)