Merge pull request #3383 from crocdialer/collada_animation_ticks_per_sec_issue_3162
collada: set aiAnimation->mTicksPerSecond to 1000.0pull/3382/head^2
commit
fbc0914a21
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue