Update ColladaExporter.cpp

pull/1511/head
Victor NG 2017-10-30 16:29:57 +08:00 committed by GitHub
parent 90ba199ad4
commit aca8f068d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1314,7 +1314,7 @@ void ColladaExporter::WriteAnimationLibrary(size_t pIndex)
{
std::vector<std::string> names;
for (int i = 0; i < nodeAnim->mNumPositionKeys; ++i) {
for ( size_t i = 0; i < nodeAnim->mNumPositionKeys; ++i) {
if ( nodeAnim->mPreState == aiAnimBehaviour_DEFAULT
|| nodeAnim->mPreState == aiAnimBehaviour_LINEAR
|| nodeAnim->mPreState == aiAnimBehaviour_REPEAT