applied fix for bad or missing vertex tex coords

This commit is contained in:
Martin Schultz
2017-10-24 17:06:41 +02:00
parent 64947924be
commit b3417e5a88

View File

@@ -363,7 +363,7 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
{ {
// write vertex texture coordinate index // write vertex texture coordinate index
if (_opt.check(Options::VertexTexCoord)) if (_opt.check(Options::VertexTexCoord))
_out << texMap[_be.texcoord(vh)]; _out << texMap[_be.texcoord(vhandles[j])];
} }
// write vertex normal index // write vertex normal index