Commit 37aac1d1 authored by TheNumbat's avatar TheNumbat
Browse files

another fix

parent 406c0f29
......@@ -568,10 +568,11 @@ bool Halfedge_Mesh::subdivide(SubD strategy) {
verts[idx] = e->new_pos;
layout[e->id()] = idx;
}
for(FaceRef f = faces_begin(); f != faces_end(); f++, idx++) {
for(FaceRef f = faces_begin(); f != faces_end(); f++) {
if(f->is_boundary()) continue;
verts[idx] = f->new_pos;
layout[f->id()] = idx;
idx++;
}
for(auto f = faces_begin(); f != faces_end(); f++) {
......
Markdown is supported
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