From 0d4cca65933075ae26fd1dc0f51e56ad53f9205a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 24 Jun 2015 09:54:23 +1000 Subject: Fix edge/vert slide UV-correct & zero length edges When calculating loop angle weighting, skip overlapping vertices. --- source/blender/bmesh/intern/bmesh_queries.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/bmesh/intern/bmesh_queries.h') diff --git a/source/blender/bmesh/intern/bmesh_queries.h b/source/blender/bmesh/intern/bmesh_queries.h index f96d99fd452..2b18a5c8641 100644 --- a/source/blender/bmesh/intern/bmesh_queries.h +++ b/source/blender/bmesh/intern/bmesh_queries.h @@ -108,6 +108,9 @@ BLI_INLINE bool BM_loop_is_adjacent(const BMLoop *l_a, const BMLoop *l_b) ATTR_W float BM_loop_point_side_of_loop_test(const BMLoop *l, const float co[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); float BM_loop_point_side_of_edge_test(const BMLoop *l, const float co[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); +BMLoop *BM_loop_find_prev_nodouble(BMLoop *l, BMLoop *l_stop, const float eps_sq); +BMLoop *BM_loop_find_next_nodouble(BMLoop *l, BMLoop *l_stop, const float eps_sq); + float BM_loop_calc_face_angle(const BMLoop *l) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); void BM_loop_calc_face_normal(const BMLoop *l, float r_normal[3]) ATTR_NONNULL(); void BM_loop_calc_face_direction(const BMLoop *l, float r_normal[3]); -- cgit v1.2.3