Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-17 16:02:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-17 16:02:54 +0300
commita993600323867211f45f636058f20b66f144c34b (patch)
tree989a3c22cae13e9f315d8c42615ebaf88187ac62 /source/blender/bmesh/intern/bmesh_query.h
parent6694d7ac5f651ea03ea61a465330652cc26ecb38 (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/intern/bmesh_query.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_query.h b/source/blender/bmesh/intern/bmesh_query.h
index d2c71d8c71d..5627f3820c2 100644
--- a/source/blender/bmesh/intern/bmesh_query.h
+++ b/source/blender/bmesh/intern/bmesh_query.h
@@ -254,6 +254,7 @@ int BM_mesh_calc_face_groups(BMesh *bm,
int *r_groups_array,
int (**r_group_index)[2],
BMLoopFilterFunc filter_fn,
+ BMLoopPairFilterFunc filter_pair_fn,
void *user_data,
const char hflag_test,
const char htype_step) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3);