Fix bug in texture coordinates reading

This commit is contained in:
Massimiliano Corsini 2006-03-29 08:50:10 +00:00
parent da79d2a488
commit ad53facf1f
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,11 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.18 2006/03/29 08:15:46 corsini
Fix several bugs
Add LoadMask
Improve parsing capabilities (account for unexpected newline)
Revision 1.17 2006/03/01 08:25:30 cignoni Revision 1.17 2006/03/01 08:25:30 cignoni
Corrected bug in wrong counting the parsed tokens during the reading of color components Corrected bug in wrong counting the parsed tokens during the reading of color components
@ -388,6 +393,9 @@ namespace vcg
k = 0; k = 0;
} }
std::string str = tokens[k];
k++;
// Store texture coordinates // Store texture coordinates
if (VertexType::HasTexture()) if (VertexType::HasTexture())
{ {