diff options
author | Pratik Borhade <PratikPB2123> | 2021-03-10 14:02:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 15:04:37 +0300 |
commit | 493628e5418b1543d82e314b34832ad6cc365055 (patch) | |
tree | cd874cc27934de2e3df9f9da288e54ab9c9fc5ef /source/blender/bmesh/intern/bmesh_walkers_private.h | |
parent | 4fece16d458e75bc408c62814c9d2b86637ab92e (diff) |
Fix T67190: Edge Loop Select doesn't support non-manifold edges
- New Walker added `bmw_NonManifoldedgeWalker_type`.
- This walks over edges connected with 3 or more faces connected.
Ref D10497 with edits.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_walkers_private.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_walkers_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_walkers_private.h b/source/blender/bmesh/intern/bmesh_walkers_private.h index 721f3c2c65b..2da4f290c76 100644 --- a/source/blender/bmesh/intern/bmesh_walkers_private.h +++ b/source/blender/bmesh/intern/bmesh_walkers_private.h @@ -84,6 +84,13 @@ typedef struct BMwEdgeboundaryWalker { BMEdge *e; } BMwEdgeboundaryWalker; +typedef struct BMwNonManifoldEdgeLoopWalker { + BMwGenericWalker header; + BMEdge *start, *cur; + BMVert *startv, *lastv; + int face_count; /* face count around the edge. */ +} BMwNonManifoldEdgeLoopWalker; + typedef struct BMwUVEdgeWalker { BMwGenericWalker header; BMLoop *l; |