Merge pull request #3643 from Gargaj/patch-2
fix compile warning-turned-error on x86pull/3619/head^2
commit
c50517d8df
|
@ -982,7 +982,7 @@ void ColladaLoader::StoreAnimations(aiScene *pScene, const ColladaParser &pParse
|
||||||
animTargets.insert(templateAnim->mChannels[0]->mNodeName.C_Str());
|
animTargets.insert(templateAnim->mChannels[0]->mNodeName.C_Str());
|
||||||
bool collectedAnimationsHaveDifferentChannels = true;
|
bool collectedAnimationsHaveDifferentChannels = true;
|
||||||
for (unsigned long long collectedAnimIndice : collectedAnimIndices) {
|
for (unsigned long long collectedAnimIndice : collectedAnimIndices) {
|
||||||
aiAnimation *srcAnimation = mAnims[collectedAnimIndice];
|
aiAnimation *srcAnimation = mAnims[(int)collectedAnimIndice];
|
||||||
std::string channelName = std::string(srcAnimation->mChannels[0]->mNodeName.C_Str());
|
std::string channelName = std::string(srcAnimation->mChannels[0]->mNodeName.C_Str());
|
||||||
if (animTargets.find(channelName) == animTargets.end()) {
|
if (animTargets.find(channelName) == animTargets.end()) {
|
||||||
animTargets.insert(channelName);
|
animTargets.insert(channelName);
|
||||||
|
|
Loading…
Reference in New Issue