Blender Git Commit Log

Git Commits -> Revision 07beb61

Revision 07beb61 by Nicholas Bishop (master)
February 25, 2013, 00:02 (GMT)
Fix for collapse-edges crash in dyntopo

Was incorrectly testing for a vertex in a set with BLI_ghash_lookup
rather than BLI_ghash_haskey; the key in this case is always null so
the test failed.

This could leave the PBVH in an inconsistent state, since the
top-level map of BMesh vertices to PBVH nodes would indicate the
vertex was in a node, but that node wouldn't actually have any faces
using the vertex. That inconsistent state would eventually lead to a
crash in pbvh_bmesh_vert_remove().

Fixes
http://projects.blender.org/tracker/?func=detail&atid=498&aid=34370&group_id=9

Commit Details:

Full Hash: 07beb61b1e6a11028a86c3dd95497a505d842605
SVN Revision: 54827
Parent Commit: 4e1ea1f
Lines Changed: +1, -1

1 Modified Path:

/source/blender/blenkernel/intern/pbvh_bmesh.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021