From a993600323867211f45f636058f20b66f144c34b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 18 Nov 2020 00:02:15 +1100 Subject: 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. --- source/blender/bmesh/bmesh_class.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/bmesh/bmesh_class.h') 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) \ -- cgit v1.2.3