Merge branch 'fixOBJWriterMissingTexCoords' into 'master'

applied fix for bad or missing vertex tex coords

See merge request OpenMesh/OpenMesh!145
This commit is contained in:
Jan Möbius
2017-10-24 22:07:45 +02:00
2 changed files with 2 additions and 1 deletions

View File

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