[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60514] trunk/blender/source/blender/ blenkernel/intern/pbvh_bmesh.c: Fix an own regression introduced in the dyntopo cleanup commits.

Antony Riakiotakis kalast at gmail.com
Thu Oct 3 00:18:23 CEST 2013


Revision: 60514
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60514
Author:   psy-fi
Date:     2013-10-02 22:18:23 +0000 (Wed, 02 Oct 2013)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c

Modified: trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c	2013-10-02 22:18:14 UTC (rev 60513)
+++ trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c	2013-10-02 22:18:23 UTC (rev 60514)
@@ -438,10 +438,6 @@
 				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 */




More information about the Bf-blender-cvs mailing list