Address error that remained in last merge

master
Yuri Kunde Schlesner 2015-07-25 16:54:51 +07:00
parent 9a0f9f12cd
commit 00529c71d4
1 changed files with 1 additions and 1 deletions

@ -85,7 +85,7 @@ void GeometryDumper::AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2) {
vertices.push_back(v1);
vertices.push_back(v2);
size_t num_vertices = vertices.size();
int num_vertices = (int)vertices.size();
faces.push_back({ num_vertices-3, num_vertices-2, num_vertices-1 });
}