diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-17 16:02:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-17 16:02:54 +0300 |
commit | a993600323867211f45f636058f20b66f144c34b (patch) | |
tree | 989a3c22cae13e9f315d8c42615ebaf88187ac62 /source/blender/bmesh/bmesh_class.h | |
parent | 6694d7ac5f651ea03ea61a465330652cc26ecb38 (diff) |
BMesh: support for comparing loops when calculating face-groups
Add an optional callback to check source/destination loops for
BM_mesh_calc_face_groups.
This is needed so it can be used to calculate UV islands.
Diffstat (limited to 'source/blender/bmesh/bmesh_class.h')
-rw-r--r-- | source/blender/bmesh/bmesh_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h index 0783bb445a2..9899d67c008 100644 --- a/source/blender/bmesh/bmesh_class.h +++ b/source/blender/bmesh/bmesh_class.h @@ -390,6 +390,7 @@ typedef bool (*BMVertFilterFunc)(const BMVert *, void *user_data); typedef bool (*BMEdgeFilterFunc)(const BMEdge *, void *user_data); typedef bool (*BMFaceFilterFunc)(const BMFace *, void *user_data); typedef bool (*BMLoopFilterFunc)(const BMLoop *, void *user_data); +typedef bool (*BMLoopPairFilterFunc)(const BMLoop *, const BMLoop *, void *user_data); /* defines */ #define BM_ELEM_CD_SET_INT(ele, offset, f) \ |