From bc79e226eee4fd218b3d047007a5609a8f7c39b2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 24 Jun 2013 04:41:03 +0000 Subject: de-duplicate ED_mesh_active_dvert_* functions. not to devs - please don't just copy static functions around, make them api calls and add to headers. --- source/blender/editors/include/ED_mesh.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 1ee3ae1283d..3e0269aa138 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -74,7 +74,6 @@ struct Object; struct rcti; struct MeshStatVis; - /* editmesh_utils.c */ void EDBM_verts_mirror_cache_begin_ex(struct BMEditMesh *em, const int axis, const bool use_self, const bool use_select, @@ -313,6 +312,11 @@ bool ED_mesh_pick_vert(struct bContext *C, struct Object *ob, const int mva bool ED_mesh_pick_face(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); bool ED_mesh_pick_face_vert(struct bContext *C, struct Object *ob, const int mval[2], unsigned int *index, int size); + +struct MDeformVert *ED_mesh_active_dvert_get_em(struct Object *ob, struct BMVert **r_eve); +struct MDeformVert *ED_mesh_active_dvert_get_ob(struct Object *ob, int *r_index); +struct MDeformVert *ED_mesh_active_dvert_get_only(struct Object *ob); + #define ED_MESH_PICK_DEFAULT_VERT_SIZE 50 #define ED_MESH_PICK_DEFAULT_FACE_SIZE 3 -- cgit v1.2.3