set->unordered_set;unsigned int for iteration
parent
9210ff37f2
commit
c889699d58
|
@ -1619,11 +1619,11 @@ void FBXExporter::WriteObjects ()
|
||||||
std::unordered_set<const aiNode*> limbnodes;
|
std::unordered_set<const aiNode*> limbnodes;
|
||||||
|
|
||||||
//actual bone nodes in fbx, without parenting-up
|
//actual bone nodes in fbx, without parenting-up
|
||||||
std::set<std::string> setAllBoneNamesInScene;
|
std::unordered_set<std::string> setAllBoneNamesInScene;
|
||||||
for(int m = 0; m < mScene->mNumMeshes; ++ m)
|
for(unsigned int m = 0; m < mScene->mNumMeshes; ++ m)
|
||||||
{
|
{
|
||||||
aiMesh* pMesh = mScene->mMeshes[m];
|
aiMesh* pMesh = mScene->mMeshes[m];
|
||||||
for(int b = 0; b < pMesh->mNumBones; ++ b)
|
for(unsigned int b = 0; b < pMesh->mNumBones; ++ b)
|
||||||
setAllBoneNamesInScene.insert(pMesh->mBones[b]->mName.data);
|
setAllBoneNamesInScene.insert(pMesh->mBones[b]->mName.data);
|
||||||
}
|
}
|
||||||
aiMatrix4x4 mxTransIdentity;
|
aiMatrix4x4 mxTransIdentity;
|
||||||
|
|
Loading…
Reference in New Issue