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
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2013-10-03 02:18:23 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-10-03 02:18:23 +0400
commit98ee7fdd9ad7275698a5c83bc60b031c5cb636b3 (patch)
treeba5e13b64141276914d686b8ae3f4dadacde3bd6 /source/blender/blenkernel/intern/pbvh_bmesh.c
parent8dcbc1060bcf7ee0d58726080405cffd2f3db5d1 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_bmesh.c')
-rw-r--r--source/blender/blenkernel/intern/pbvh_bmesh.c4
1 files changed, 0 insertions, 4 deletions
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 */