From 7a8b7ba88d6d84dde7fd43419ac2b022c9887856 Mon Sep 17 00:00:00 2001 From: Theak Date: Sun, 29 Sep 2019 10:09:53 +0100 Subject: [PATCH] aiAnimation::mTicksPerSecond for gltf2 imports - should always be 1000.0 --- code/glTF2/glTF2Importer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTF2/glTF2Importer.cpp b/code/glTF2/glTF2Importer.cpp index fe52e9f28..f8e52ae66 100644 --- a/code/glTF2/glTF2Importer.cpp +++ b/code/glTF2/glTF2Importer.cpp @@ -1176,7 +1176,7 @@ void glTF2Importer::ImportAnimations(glTF2::Asset& r) } } ai_anim->mDuration = maxDuration; - ai_anim->mTicksPerSecond = 0.001; + ai_anim->mTicksPerSecond = 1000.0; mScene->mAnimations[i] = ai_anim; }