Blender Git Loki
Git Commits -> Revision 9c18ade
Revision 9c18ade by Campbell Barton (master) March 3, 2012, 12:35 (GMT) |
bmesh edge rotate * improve check to see if edge rotate can be done, was checking if both edges verts have an edge count of 2, which is really a meaningless test since the verts can have stray edges connected and the result wont work right. instead check if the next verts in both faces share a vertex. * add utility function BM_face_other_vert_loop() which gets the next loop in a face. * add convenience function BM_edge_face_pair() which returns 2 faces for edges that have exactly 2 face users. (saves ugly e->l->radial_next ... in code) and is more readable. |
Commit Details:
Full Hash: 9c18ade898fb613321bf2eb73232a74de7186aab
SVN Revision: 44618
Parent Commit: 9d49fa0
Lines Changed: +143, -15