From 98ee7fdd9ad7275698a5c83bc60b031c5cb636b3 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 2 Oct 2013 22:18:23 +0000 Subject: Fix an own regression introduced in the dyntopo cleanup commits. Do not remove a vertex from the pbvh if the only face it was part of was removed from the pbvh. This should work but no time to investigate now properly, and better have a solid release. The problem could be seen when sculpting to open meshes. Some vertices and faces on the boundaries would become stuck and unresponsive. --- source/blender/blenkernel/intern/pbvh_bmesh.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/blenkernel/intern/pbvh_bmesh.c') diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c index c83d760797b..1410fca534c 100644 --- a/source/blender/blenkernel/intern/pbvh_bmesh.c +++ b/source/blender/blenkernel/intern/pbvh_bmesh.c @@ -438,10 +438,6 @@ static void pbvh_bmesh_face_remove(PBVH *bvh, BMFace *f) if (new_node) { pbvh_bmesh_vert_ownership_transfer(bvh, new_node, v); } - else { - BLI_gset_remove(f_node->bm_unique_verts, v, NULL); - BLI_ghash_remove(bvh->bm_vert_to_node, v, NULL, NULL); - } } else { /* Remove from other verts */ -- cgit v1.2.3