From 89ca66f3000d6cf3c0e876854f840c7f543df124 Mon Sep 17 00:00:00 2001 From: iamAdrianIusca Date: Sun, 1 Mar 2020 11:21:53 +0200 Subject: [PATCH] fix --- code/Common/SplitByBoneCountProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Common/SplitByBoneCountProcess.cpp b/code/Common/SplitByBoneCountProcess.cpp index 0a9d0912e..e6c001d3b 100644 --- a/code/Common/SplitByBoneCountProcess.cpp +++ b/code/Common/SplitByBoneCountProcess.cpp @@ -165,7 +165,7 @@ void SplitByBoneCountProcess::SplitMesh( const aiMesh* pMesh, std::vectormBones[a]; for( unsigned int b = 0; b < bone->mNumWeights; ++b) - vertexBones[ bone->mWeights[b].mVertexId ].push_back( a, bone->mWeights[b].mWeight); + vertexBones[ bone->mWeights[b].mVertexId ].push_back( BoneWeight( a, bone->mWeights[b].mWeight)); } unsigned int numFacesHandled = 0;