Commit 5cd9448a authored by Max Lyon's avatar Max Lyon
Browse files

size_t int warning

parent 5bff49b6
Pipeline #3831 passed with stage
in 41 minutes
...@@ -273,11 +273,11 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec ...@@ -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(int(i));
t = _be.texcoord(vh); t = _be.texcoord(vh);
texMap[t] = i; texMap[t] = (int)i;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment