Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-15 10:04:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-15 10:04:12 +0300
commitae8225ba6d6d704110296023630e5b86befeb326 (patch)
tree6ab649058fe7ce1321525e280806e08d60a26dc6 /source
parent43ee4d5d7c6743de6048658354ebaa202f23054d (diff)
Fix BMesh bisect not flagging dirty indices
Diffstat (limited to 'source')
-rw-r--r--source/blender/bmesh/tools/bmesh_bisect_plane.c3
1 files changed, 3 insertions, 0 deletions
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);
}