From ab372b9ead6b5a9f2ea194494414ab09d30b3294 Mon Sep 17 00:00:00 2001 From: flashk Date: Wed, 3 Oct 2018 09:52:10 -0700 Subject: [PATCH] Update fbxRMesh.cpp --- src/osgPlugins/fbx/fbxRMesh.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/osgPlugins/fbx/fbxRMesh.cpp b/src/osgPlugins/fbx/fbxRMesh.cpp index 8ba58687a..62caa6b73 100644 --- a/src/osgPlugins/fbx/fbxRMesh.cpp +++ b/src/osgPlugins/fbx/fbxRMesh.cpp @@ -419,8 +419,7 @@ void addBindMatrix( const osg::Matrix& bindMatrix, osgAnimation::RigGeometry* pRigGeometry) { - boneBindMatrices.insert(BindMatrixMap::value_type( - BindMatrixMap::key_type(pBone, pRigGeometry), bindMatrix)); + boneBindMatrices[pBone][bindMatrix].insert(pRigGeometry); } void addVec2ArrayElement(osg::Array& a, const FbxVector2& v)