diff options
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index 06499ace422..1a03879ed17 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -46,9 +46,12 @@ struct wmOperatorType; /* Calls a bmesh op, reporting errors to the user, etc */ bool EDBM_op_callf(struct BMEditMesh *em, struct wmOperator *op, const char *fmt, ...); -bool EDBM_op_call_and_selectf(struct BMEditMesh *em, struct wmOperator *op, - const char *select_slot, const bool select_replace, - const char *fmt, ...); +bool EDBM_op_call_and_selectf(struct BMEditMesh *em, + struct wmOperator *op, + const char *select_slot, + const bool select_replace, + const char *fmt, + ...); /* Same as above, but doesn't report errors.*/ bool EDBM_op_call_silentf(struct BMEditMesh *em, const char *fmt, ...); @@ -57,20 +60,23 @@ bool EDBM_op_call_silentf(struct BMEditMesh *em, const char *fmt, ...); * it. * * execute the operator with BM_Exec_Op */ -bool EDBM_op_init(struct BMEditMesh *em, struct BMOperator *bmop, - struct wmOperator *op, const char *fmt, ...); +bool EDBM_op_init( + struct BMEditMesh *em, struct BMOperator *bmop, struct wmOperator *op, const char *fmt, ...); /* Cleans up after a bmesh operator */ -bool EDBM_op_finish(struct BMEditMesh *em, struct BMOperator *bmop, - struct wmOperator *op, const bool do_report); +bool EDBM_op_finish(struct BMEditMesh *em, + struct BMOperator *bmop, + struct wmOperator *op, + const bool do_report); void EDBM_stats_update(struct BMEditMesh *em); bool EDBM_view3d_poll(struct bContext *C); -struct BMElem *EDBM_elem_from_selectmode( - struct BMEditMesh *em, - struct BMVert *eve, struct BMEdge *eed, struct BMFace *efa); -int EDBM_elem_to_index_any(struct BMEditMesh *em, struct BMElem *ele); +struct BMElem *EDBM_elem_from_selectmode(struct BMEditMesh *em, + struct BMVert *eve, + struct BMEdge *eed, + struct BMFace *efa); +int EDBM_elem_to_index_any(struct BMEditMesh *em, struct BMElem *ele); struct BMElem *EDBM_elem_from_index_any(struct BMEditMesh *em, int index); /* *** editmesh_add.c *** */ @@ -125,25 +131,20 @@ void MESH_OT_intersect(struct wmOperatorType *ot); void MESH_OT_intersect_boolean(struct wmOperatorType *ot); void MESH_OT_face_split_by_edges(struct wmOperatorType *ot); - /* *** editmesh_knife.c *** */ void MESH_OT_knife_tool(struct wmOperatorType *ot); void MESH_OT_knife_project(struct wmOperatorType *ot); -void EDBM_mesh_knife(struct bContext *C, struct LinkNode *polys, - bool use_tag, bool cut_through); +void EDBM_mesh_knife(struct bContext *C, struct LinkNode *polys, bool use_tag, bool cut_through); struct wmKeyMap *knifetool_modal_keymap(struct wmKeyConfig *keyconf); - /* *** editmesh_loopcut.c *** */ void MESH_OT_loopcut(struct wmOperatorType *ot); - /* *** editmesh_rip.c *** */ void MESH_OT_rip(struct wmOperatorType *ot); void MESH_OT_rip_edge(struct wmOperatorType *ot); - /* *** editmesh_select.c *** */ void MESH_OT_select_similar(struct wmOperatorType *ot); void MESH_OT_select_similar_region(struct wmOperatorType *ot); @@ -174,7 +175,6 @@ void MESH_OT_shortest_path_select(struct wmOperatorType *ot); extern struct EnumPropertyItem *corner_type_items; - /* *** editmesh_tools.c *** */ void MESH_OT_subdivide(struct wmOperatorType *ot); void MESH_OT_subdivide_edgering(struct wmOperatorType *ot); @@ -263,5 +263,4 @@ void MESH_OT_customdata_skin_clear(struct wmOperatorType *ot); void MESH_OT_customdata_custom_splitnormals_add(struct wmOperatorType *ot); void MESH_OT_customdata_custom_splitnormals_clear(struct wmOperatorType *ot); - -#endif /* __MESH_INTERN_H__ */ +#endif /* __MESH_INTERN_H__ */ |