- added a post processing step to limit the bone count per vertex

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@56 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
ulfjorensen
2008-06-07 23:21:36 +00:00
parent a40ac4eace
commit 492aa8358b
7 changed files with 204 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ XFileParser::XFileParser( const std::vector<char>& pBuffer)
else if( strncmp( P + 8, "bin ", 4) == 0)
mIsBinaryFormat = true;
else
ThrowException( "Unsupported xfile format");
ThrowException( boost::str( boost::format( "Unsupported xfile format '%c%c%c%c'") % P[8] % P[9] % P[10] % P[11]));
// float size
mBinaryFloatSize = (unsigned int)(P[12] - 48) * 1000