From ae8225ba6d6d704110296023630e5b86befeb326 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 May 2018 09:04:12 +0200 Subject: Fix BMesh bisect not flagging dirty indices --- source/blender/bmesh/tools/bmesh_bisect_plane.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') diff --git a/source/blender/bmesh/tools/bmesh_bisect_plane.c b/source/blender/bmesh/tools/bmesh_bisect_plane.c index f3927a3ff67..4bf5526095f 100644 --- a/source/blender/bmesh/tools/bmesh_bisect_plane.c +++ b/source/blender/bmesh/tools/bmesh_bisect_plane.c @@ -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); } -- cgit v1.2.3