Blender Git Loki

Git Commits -> Revision 8cc0956

Revision 8cc0956 by Andrew Wiggin (master)
September 26, 2011, 03:38 (GMT)
Bread-first bmesh walkers:
- walkers can be run in breadth-first order or depth-first order (previously there was only depth-first)
- walkers keep track of current depth (with this + breadth-first, select nth implementation is now trivial)
- new connected vertex walker (similar to shell walker, but returns vertices instead of edges)
- shell walker can be started from a vertex (in which case the walker starts by queueing all the edges incident on the vertex) or from an edge (walker starts by queueing the single edge)
- bug fix for walker reset (was emptying states, but not clearing the visithash)
- bug fix for select nth (indexing for deselection was walking through *all* connected elmeents, to match trunk it should only walk through *selected* connected elements)

Commit Details:

Full Hash: 8cc095696a9da86ac84497908bd4343cd9de10a1
SVN Revision: 40545
Parent Commit: e625ce0
Lines Changed: +373, -340

5 Modified Paths:

/source/blender/bmesh/bmesh_walkers.h (+15, -4) (Diff)
/source/blender/bmesh/intern/bmesh_walkers.c (+91, -32) (Diff)
/source/blender/bmesh/intern/bmesh_walkers_impl.c (+168, -105) (Diff)
/source/blender/bmesh/intern/bmesh_walkers_private.h (+21, -9) (Diff)
/source/blender/editors/mesh/bmesh_select.c (+78, -190) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021