Fix BMesh bisect not flagging dirty indices

This commit is contained in:
Campbell Barton 2018-05-15 09:04:12 +02:00
parent 43ee4d5d7c
commit ae8225ba6d
1 changed files with 3 additions and 0 deletions

View File

@ -460,6 +460,9 @@ void BM_mesh_bisect_plane(
bm_face_bisect_verts(bm, f, plane, oflag_center, oflag_new);
}
/* Caused by access macros: BM_VERT_DIR, BM_VERT_SKIP. */
bm->elem_index_dirty |= BM_VERT;
/* now we have all faces to split in the stack */
BLI_LINKSTACK_FREE(face_stack);
}