set->unordered_set;unsigned int for iteration
parent
6b5e0a9914
commit
d7773dcfba
|
@ -1619,11 +1619,11 @@ void FBXExporter::WriteObjects ()
|
|||
std::unordered_set<const aiNode*> limbnodes;
|
||||
|
||||
//actual bone nodes in fbx, without parenting-up
|
||||
std::set<std::string> setAllBoneNamesInScene;
|
||||
for(int m = 0; m < mScene->mNumMeshes; ++ m)
|
||||
std::unordered_set<std::string> setAllBoneNamesInScene;
|
||||
for(unsigned int m = 0; m < mScene->mNumMeshes; ++ 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);
|
||||
}
|
||||
aiMatrix4x4 mxTransIdentity;
|
||||
|
|
Loading…
Reference in New Issue