Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into featureMeshConversion
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.4 KiB |
@@ -273,11 +273,11 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
|
|||||||
//collect Texturevertices from vertices
|
//collect Texturevertices from vertices
|
||||||
if(_opt.check(Options::VertexTexCoord))
|
if(_opt.check(Options::VertexTexCoord))
|
||||||
{
|
{
|
||||||
for (int i=0, nF=_be.n_faces(); i<nF; ++i)
|
for (size_t i=0, nF=_be.n_faces(); i<nF; ++i)
|
||||||
{
|
{
|
||||||
vh = VertexHandle(int(i));
|
vh = VertexHandle(static_cast<int>(i));
|
||||||
t = _be.texcoord(vh);
|
t = _be.texcoord(vh);
|
||||||
texMap[t] = i;
|
texMap[t] = static_cast<int>(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user