From aca8f068d048275db0ac5ec3e8a98118110fd0cf Mon Sep 17 00:00:00 2001 From: Victor NG Date: Mon, 30 Oct 2017 16:29:57 +0800 Subject: [PATCH] Update ColladaExporter.cpp --- code/ColladaExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index 52562a9f7..dd3a9ed1d 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -1314,7 +1314,7 @@ void ColladaExporter::WriteAnimationLibrary(size_t pIndex) { std::vector 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