- Added a workaround for some XFileExporter omitting separator chars at the end of data vectors
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1302 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/6/merge
parent
62b0284100
commit
2944e7b210
|
@ -460,7 +460,7 @@ void XFileParser::ParseDataObjectMesh( Mesh* pMesh)
|
||||||
Face& face = pMesh->mPosFaces[a];
|
Face& face = pMesh->mPosFaces[a];
|
||||||
for( unsigned int b = 0; b < numIndices; b++)
|
for( unsigned int b = 0; b < numIndices; b++)
|
||||||
face.mIndices.push_back( ReadInt());
|
face.mIndices.push_back( ReadInt());
|
||||||
CheckForSeparator();
|
TestForSeparator();
|
||||||
}
|
}
|
||||||
|
|
||||||
// here, other data objects may follow
|
// here, other data objects may follow
|
||||||
|
@ -583,7 +583,7 @@ void XFileParser::ParseDataObjectMeshNormals( Mesh* pMesh)
|
||||||
for( unsigned int b = 0; b < numIndices; b++)
|
for( unsigned int b = 0; b < numIndices; b++)
|
||||||
face.mIndices.push_back( ReadInt());
|
face.mIndices.push_back( ReadInt());
|
||||||
|
|
||||||
CheckForSeparator();
|
TestForSeparator();
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckForClosingBrace();
|
CheckForClosingBrace();
|
||||||
|
|
Loading…
Reference in New Issue