BMesh: improve path-select fill region w/ ngons
Rewrote to work with ngons and and more complex topology, now uses separate function. Fixes T48009.
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
struct BMCalcPathParams {
|
||||
unsigned int use_topology_distance : 1;
|
||||
unsigned int use_step_face : 1;
|
||||
/* return all paths (no longer ordered) */
|
||||
unsigned int use_fill : 1;
|
||||
};
|
||||
|
||||
struct LinkNode *BM_mesh_calc_path_vert(
|
||||
@@ -46,7 +44,7 @@ ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5);
|
||||
|
||||
struct LinkNode *BM_mesh_calc_path_face(
|
||||
BMesh *bm, BMFace *f_src, BMFace *f_dst, const struct BMCalcPathParams *params,
|
||||
bool (*test_fn)(BMFace *, void *), void *user_data)
|
||||
bool (*filter_fn)(BMFace *, void *), void *user_data)
|
||||
ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2, 3, 5);
|
||||
|
||||
#endif /* __BMESH_PATH_H__ */
|
||||
|
||||
Reference in New Issue
Block a user