fix for strange behavior with loop select involving ngons,

when selecting a loop with quads on one side an ngon on another - never select the outer boundary edge of the ngon.
This commit is contained in:
Campbell Barton
2013-05-13 17:42:27 +00:00
parent f4bb0a7412
commit 92da9792fe

View File

@@ -522,7 +522,9 @@ static void *bmw_LoopWalker_step(BMWalker *walker)
nexte = BM_edge_exists(v, l->v);
if (bmw_mask_check_edge(walker, nexte) &&
!BLI_ghash_haskey(walker->visithash, nexte))
!BLI_ghash_haskey(walker->visithash, nexte) &&
/* never step onto a boundary edge, this gives odd-results */
(BM_edge_is_boundary(nexte) == false))
{
lwalk = BMW_state_add(walker);
lwalk->cur = nexte;