diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-21 11:59:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-21 11:59:29 +0300 |
commit | f7162d214ec31daf886acf3618fa9aa567c7521d (patch) | |
tree | e5756a09a5e6e077a39aa3feb7c11a1a5344bb8d /source/blender/editors/include/ED_mesh.h | |
parent | 7170ff429f69160e25a8260a3b776a020546500f (diff) |
BMesh: split out edgering preview into own API
Needed for alternate tool system access.
Diffstat (limited to 'source/blender/editors/include/ED_mesh.h')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index d791c055d95..8fff5490d61 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -192,6 +192,16 @@ void em_setup_viewcontext(struct bContext *C, struct ViewContext *vc); /* renam extern unsigned int bm_vertoffs, bm_solidoffs, bm_wireoffs; +/* editmesh_preselect.c */ +struct EditMesh_PreSelEdgeRing; +struct EditMesh_PreSelEdgeRing *EDBM_preselect_edgering_create(void); +void EDBM_preselect_edgering_destroy(struct EditMesh_PreSelEdgeRing *psel); +void EDBM_preselect_edgering_clear(struct EditMesh_PreSelEdgeRing *psel); +void EDBM_preselect_edgering_draw(struct EditMesh_PreSelEdgeRing *psel, const float matrix[4][4]); +void EDBM_preselect_edgering_update_from_edge( + struct EditMesh_PreSelEdgeRing *psel, + struct BMesh *bm, struct BMEdge *eed_start, int previewlines); + /* mesh_ops.c */ void ED_operatortypes_mesh(void); void ED_operatormacros_mesh(void); |