Blender Git Loki

Git Commits -> Revision 4d84e86

Revision 4d84e86 by Campbell Barton (master)
March 5, 2012, 00:50 (GMT)
Improvements to bmesh edge rotate

On a user level, edge rotate now works better with multiple edges selected, it wont make zero area faces or rotate edges into existing ones.

With a single edge selected - rotate is less strict and will allow ugly resulting faces but still checks on duplicate edges.

API:
* BM_edge_rotate now takes a flag, to optionally...
** check for existing edge
** splice edge (rotate and merge)
** check for degenerate resulting faces (overlapping geometry, zero area)
** beauty - only rotate to a better fit.
... this allows it to still be used as a low level API function since all checks can be skipped.

* BM_edge_rotate() now works a bit different, it find the new edge rotation before joining the faces - exposed by BM_edge_rotate_calc().

* Added api call bmesh_radial_faceloop_find_vert() - Radial Find a Vertex Loop in Face

Commit Details:

Full Hash: 4d84e869a0fd540247a99edbfeca24ffb75644cd
SVN Revision: 44644
Parent Commit: 5f50913
Lines Changed: +262, -33

9 Modified Paths:

/source/blender/bmesh/intern/bmesh_core.c (+3, -3) (Diff)
/source/blender/bmesh/intern/bmesh_core.h (+2, -0) (Diff)
/source/blender/bmesh/intern/bmesh_mods.c (+206, -21) (Diff)
/source/blender/bmesh/intern/bmesh_mods.h (+16, -1) (Diff)
/source/blender/bmesh/intern/bmesh_structure.c (+24, -5) (Diff)
/source/blender/bmesh/intern/bmesh_structure.h (+1, -0) (Diff)
/source/blender/bmesh/operators/bmo_triangulate.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_utils.c (+8, -1) (Diff)
/source/blender/python/bmesh/bmesh_py_utils.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021