- Bugfix: handling of XFile vertex colors is more forgiving now
- Bugfix: XFileImporter filters empty animation sets now. - updated VC9 project files git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@239 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -466,7 +466,13 @@ void XFileParser::ParseDataObjectMeshVertexColors( Mesh* pMesh)
|
||||
ThrowException( "Vertex color index out of bounds");
|
||||
|
||||
colors[index] = ReadRGBA();
|
||||
CheckForSeparator();
|
||||
// HACK: (thom) Maxon Cinema XPort plugin puts a third separator here. Ignore gracefully
|
||||
if( !mIsBinaryFormat)
|
||||
{
|
||||
FindNextNoneWhiteSpace();
|
||||
if( *P == ';')
|
||||
P++;
|
||||
}
|
||||
}
|
||||
|
||||
CheckForClosingBrace();
|
||||
|
||||
Reference in New Issue
Block a user