Merge pull request #3604 from bsekura/develop

Changed morph anim error to warning when validating
pull/3607/head^2
Kim Kulling 2021-01-29 22:10:34 +01:00 committed by GitHub
commit d87d9f2094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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