- Adding a collada test file with two UV channels.

- Fixing ColladaLoader's error message if an UV set is invalid.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@401 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-04-23 18:46:25 +00:00
parent d6aacefa1e
commit 897a7f7ae3
2 changed files with 157 additions and 1 deletions

View File

@@ -1806,7 +1806,7 @@ void ColladaParser::ReadInputChannel( std::vector<InputChannel>& poChannels)
if(attrSet > -1){
attrSet = mReader->getAttributeValueAsInt( attrSet);
if(attrSet < 0)
ThrowException( boost::str( boost::format( "Invalid index \"%i\" for set attribute") % (channel.mIndex+1)));
ThrowException( boost::str( boost::format( "Invalid index \"%i\" for set attribute") % (attrSet)));
channel.mIndex = attrSet;
}