diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 08:41:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 08:41:03 +0400 |
commit | bc79e226eee4fd218b3d047007a5609a8f7c39b2 (patch) | |
tree | 05184a54635138c395ed4b610d99f71ff8009558 /source/blender/editors/include/ED_mesh.h | |
parent | 15aed4127b3537f2efd6265acab8d73c26136754 (diff) |
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.
Diffstat (limited to 'source/blender/editors/include/ED_mesh.h')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |