removed bad be code in validate header
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@204 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
730b77c68e
commit
740e22d313
|
@ -80,15 +80,6 @@ bool MDRImporter::CanRead( const std::string& pFile, IOSystem* pIOHandler) const
|
||||||
// Validate the header of the given MDR file
|
// Validate the header of the given MDR file
|
||||||
void MDRImporter::ValidateHeader()
|
void MDRImporter::ValidateHeader()
|
||||||
{
|
{
|
||||||
AI_SWAP4(pcLOD->version);
|
|
||||||
AI_SWAP4(pcLOD->numBones);
|
|
||||||
AI_SWAP4(pcLOD->numTags);
|
|
||||||
AI_SWAP4(pcLOD->numFrames);
|
|
||||||
AI_SWAP4(pcLOD->ofsFrames);
|
|
||||||
AI_SWAP4(pcLOD->ofsTags);
|
|
||||||
AI_SWAP4(pcLOD->numLODs);
|
|
||||||
AI_SWAP4(pcLOD->ofsLODs);
|
|
||||||
|
|
||||||
if (pcHeader->ident != AI_MDR_MAGIC_NUMBER_BE &&
|
if (pcHeader->ident != AI_MDR_MAGIC_NUMBER_BE &&
|
||||||
pcHeader->ident != AI_MDR_MAGIC_NUMBER_LE)
|
pcHeader->ident != AI_MDR_MAGIC_NUMBER_LE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue