aiAnimation::mTicksPerSecond for gltf2 imports - should always be 1000.0
parent
2757297b4f
commit
7a8b7ba88d
|
@ -1176,7 +1176,7 @@ void glTF2Importer::ImportAnimations(glTF2::Asset& r)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ai_anim->mDuration = maxDuration;
|
ai_anim->mDuration = maxDuration;
|
||||||
ai_anim->mTicksPerSecond = 0.001;
|
ai_anim->mTicksPerSecond = 1000.0;
|
||||||
|
|
||||||
mScene->mAnimations[i] = ai_anim;
|
mScene->mAnimations[i] = ai_anim;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue