added missing return

pull/3604/head
Bart Sekura 2021-01-23 09:56:35 +09:00
parent f8c512acd7
commit 5f50e42535
1 changed files with 1 additions and 0 deletions

View File

@ -845,6 +845,7 @@ void ValidateDSProcess::Validate(const aiAnimation *pAnimation,
if (!pMeshMorphAnim->mNumKeys) {
ReportWarning("Empty mesh morph animation channel");
return;
}
// otherwise check whether one of the keys exceeds the total duration of the animation