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>2018-02-13 10:29:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-13 10:29:49 +0300
commit2c6d079a903ff16e2ae7e50082ef08c081cd29bf (patch)
tree6f4d663f036288248a4f2e181053e6799216c75d /source/blender/editors/uvedit/uvedit_intern.h
parentdacc6d4b0290050034eaf9290c8542343b67b129 (diff)
Object Mode: pass edit-object to UV API
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_intern.h')
-rw-r--r--source/blender/editors/uvedit/uvedit_intern.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_intern.h b/source/blender/editors/uvedit/uvedit_intern.h
index 6ca46941404..eb92f17544f 100644
--- a/source/blender/editors/uvedit/uvedit_intern.h
+++ b/source/blender/editors/uvedit/uvedit_intern.h
@@ -57,10 +57,12 @@ typedef struct NearestHit {
int lindex; /* index of loop within face */
} NearestHit;
-void uv_find_nearest_vert(struct Scene *scene, struct Image *ima, struct BMEditMesh *em,
- const float co[2], const float penalty[2], struct NearestHit *hit);
-void uv_find_nearest_edge(struct Scene *scene, struct Image *ima, struct BMEditMesh *em,
- const float co[2], struct NearestHit *hit);
+void uv_find_nearest_vert(
+ struct Scene *scene, struct Image *ima, struct Object *obedit, struct BMEditMesh *em,
+ const float co[2], const float penalty[2], struct NearestHit *hit);
+void uv_find_nearest_edge(
+ struct Scene *scene, struct Image *ima, struct Object *obedit, struct BMEditMesh *em,
+ const float co[2], struct NearestHit *hit);
/* utility tool functions */