added missing return
parent
f8c512acd7
commit
5f50e42535
|
@ -845,6 +845,7 @@ void ValidateDSProcess::Validate(const aiAnimation *pAnimation,
|
||||||
|
|
||||||
if (!pMeshMorphAnim->mNumKeys) {
|
if (!pMeshMorphAnim->mNumKeys) {
|
||||||
ReportWarning("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
|
||||||
|
|
Loading…
Reference in New Issue