From 69ec7ab873f3e75d46077f303396b194c728479e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 30 Jul 2020 11:02:46 +1000 Subject: UV: path select support with sync-select enabled Also improve region fill with edge-select enabled which often failed to include both vertices from each edge in the resulting region. --- source/blender/editors/uvedit/uvedit_intern.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source/blender/editors/uvedit/uvedit_intern.h') diff --git a/source/blender/editors/uvedit/uvedit_intern.h b/source/blender/editors/uvedit/uvedit_intern.h index d5e7dd08fd1..abbb0aa330c 100644 --- a/source/blender/editors/uvedit/uvedit_intern.h +++ b/source/blender/editors/uvedit/uvedit_intern.h @@ -88,6 +88,15 @@ bool uv_find_nearest_face_multi(struct Scene *scene, const float co[2], struct UvNearestHit *hit_final); +BMLoop *uv_find_nearest_loop_from_vert(struct Scene *scene, + struct Object *obedit, + struct BMVert *v, + const float co[2]); +BMLoop *uv_find_nearest_loop_from_edge(struct Scene *scene, + struct Object *obedit, + struct BMEdge *e, + const float co[2]); + /* utility tool functions */ void uvedit_live_unwrap_update(struct SpaceImage *sima, -- cgit v1.2.3