- Bugfix: XFileParser handles vertex colors correctly now. Fixes exception in sheep.x import
- Added support for separate normal map filename tag in XFile material list - shortened texture type determination in XFile loader while I was there - Bugfix: ValidateDataStructure wrongly flagged animations with zero duration as error git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@76 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -428,7 +428,9 @@ void ValidateDSProcess::Validate( const aiAnimation* pAnimation)
|
||||
}
|
||||
}
|
||||
else this->ReportError("aiAnimation::mNumBones is 0. At least one bone animation channel must be there.");
|
||||
if (!pAnimation->mDuration)this->ReportError("aiAnimation::mDuration is zero");
|
||||
|
||||
// Animation duration is allowed to be zero in cases where the anim contains only a single key frame.
|
||||
// if (!pAnimation->mDuration)this->ReportError("aiAnimation::mDuration is zero");
|
||||
}
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void ValidateDSProcess::SearchForInvalidTextures(const aiMaterial* pMaterial,
|
||||
|
||||
Reference in New Issue
Block a user