Blender Git Loki

Git Commits -> Revision 7068fee

Revision 7068fee by Campbell Barton (master)
February 26, 2012, 21:32 (GMT)
fix for a bmesh glitch when making a face (Fkey).

On a place, Ctrl+T, Fkey would create a quad overlapping the 2 Tris.

Now this case is checked for in a general way - if the bounds of the face are already filled in with faces (that _only_ use these edges-verts), then dont create the face.

This is an option for the 'edgenet_fill' operator, since creating the face isnt incorrect, just not-what-you-want mostly.

added functions
* BM_edge_share_vert - returns shared vert between 2 edges.
* BM_face_exists_multi, BM_face_exists_multi_edge - check if existing faces fill the edge bounds.
* also add BM_ELEM_INTERNAL_TAG so low level functions can tag without conflicting with higher level functions that also rely on tagging elements.

Commit Details:

Full Hash: 7068fee2dd7e7630ad5aa37971071ab7ac4baeb0
SVN Revision: 44471
Parent Commit: 5cfab7f
Lines Changed: +211, -13

6 Modified Paths:

/source/blender/bmesh/bmesh.h (+4, -1) (Diff)
/source/blender/bmesh/bmesh_queries.h (+6, -0) (Diff)
/source/blender/bmesh/intern/bmesh_opdefines.c (+1, -0) (Diff)
/source/blender/bmesh/intern/bmesh_queries.c (+181, -0) (Diff)
/source/blender/bmesh/operators/bmo_create.c (+15, -8) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021