Fix set but unused variable in mesh intersect
A bit tricky, since there is also variable shadowing involved.
This commit is contained in:
parent
9e63c3cee8
commit
3c34b13cf8
|
@ -3120,7 +3120,6 @@ void write_obj_mesh(IMesh &m, const std::string &objname)
|
|||
const double3 dv = v->co;
|
||||
f << "v " << dv[0] << " " << dv[1] << " " << dv[2] << "\n";
|
||||
}
|
||||
int i = 0;
|
||||
for (const Face *face : m.faces()) {
|
||||
/* OBJ files use 1-indexing for vertices. */
|
||||
f << "f ";
|
||||
|
@ -3131,7 +3130,6 @@ void write_obj_mesh(IMesh &m, const std::string &objname)
|
|||
f << i + 1 << " ";
|
||||
}
|
||||
f << "\n";
|
||||
++i;
|
||||
}
|
||||
f.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue