set aiAnimation->mTicksPerSecond to 1000.0. this is analog to the behaviour of gltf2-importer

pull/3383/head
crocdialer 2020-08-28 16:09:15 +02:00
parent 48ec3ef458
commit 3c98197be0
1 changed files with 1 additions and 1 deletions

View File

@ -1468,7 +1468,7 @@ void ColladaLoader::CreateAnimation(aiScene *pScene, const ColladaParser &pParse
for (size_t a = 0; a < morphAnims.size(); ++a) {
anim->mDuration = std::max(anim->mDuration, morphAnims[a]->mKeys[morphAnims[a]->mNumKeys - 1].mTime);
}
anim->mTicksPerSecond = 1;
anim->mTicksPerSecond = 1000.0;
mAnims.push_back(anim);
}
}