diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 08:51:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 08:51:56 +0400 |
commit | 781184562b47846113a83549fe0ef5d36a957579 (patch) | |
tree | 5d052fdea8a750b3f716bc95d6eac83a519cc9c3 /source/blender/bmesh/intern/bmesh_marking.h | |
parent | bc79e226eee4fd218b3d047007a5609a8f7c39b2 (diff) |
add api calls for BM_mesh_active_vert/edge_get.
inspecting the edit-selection inline was cumbersome.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_marking.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_marking.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_marking.h b/source/blender/bmesh/intern/bmesh_marking.h index a3d2d4a6985..b7040e63458 100644 --- a/source/blender/bmesh/intern/bmesh_marking.h +++ b/source/blender/bmesh/intern/bmesh_marking.h @@ -70,8 +70,11 @@ int BM_mesh_elem_hflag_count_enabled(BMesh *bm, const char htype, const char hfl int BM_mesh_elem_hflag_count_disabled(BMesh *bm, const char htype, const char hflag, const bool respecthide); /* edit selection stuff */ -void BM_active_face_set(BMesh *bm, BMFace *f); -BMFace *BM_active_face_get(BMesh *bm, const bool is_sloppy, const bool is_selected); +void BM_mesh_active_face_set(BMesh *bm, BMFace *f); +BMFace *BM_mesh_active_face_get(BMesh *bm, const bool is_sloppy, const bool is_selected); +BMEdge *BM_mesh_active_edge_get(BMesh *bm); +BMVert *BM_mesh_active_vert_get(BMesh *bm); +BMElem *BM_mesh_active_elem_get(BMesh *bm); void BM_editselection_center(BMEditSelection *ese, float r_center[3]); void BM_editselection_normal(BMEditSelection *ese, float r_normal[3]); |