|
Blender
V2.93
|
#include "bmesh_operator_api.h"Go to the source code of this file.
Macros | |
| #define | BM_ELEM_INDEX_VALIDATE(_bm, _msg_a, _msg_b) BM_mesh_elem_index_validate(_bm, __FILE__ ":" STRINGIFY(__LINE__), __func__, _msg_a, _msg_b) |
| #define | _BMESH_DUMMY_ABORT() (void)0 |
| #define | BMESH_ASSERT(a) |
Enumerations | |
| enum | { BMERR_CONNECTVERT_FAILED = 1 , BMERR_DISSOLVEFACES_FAILED , BMERR_INVALID_SELECTION , BMERR_MESH_ERROR , BMERR_CONVEX_HULL_FAILED , BMERR_TOTAL } |
Functions | |
| void | BMO_error_raise (BMesh *bm, BMOperator *owner, int errcode, const char *msg) |
| int | BMO_error_get (BMesh *bm, const char **msg, BMOperator **op) |
| bool | BMO_error_occurred (BMesh *bm) |
| int | BMO_error_pop (BMesh *bm, const char **msg, BMOperator **op) |
| void | BMO_error_clear (BMesh *bm) |
| #define _BMESH_DUMMY_ABORT | ( | ) | (void)0 |
Definition at line 71 of file bmesh_error.h.
| #define BM_ELEM_INDEX_VALIDATE | ( | _bm, | |
| _msg_a, | |||
| _msg_b | |||
| ) | BM_mesh_elem_index_validate(_bm, __FILE__ ":" STRINGIFY(__LINE__), __func__, _msg_a, _msg_b) |
Definition at line 51 of file bmesh_error.h.
| #define BMESH_ASSERT | ( | a | ) |
Definition at line 76 of file bmesh_error.h.
| anonymous enum |
| Enumerator | |
|---|---|
| BMERR_CONNECTVERT_FAILED | |
| BMERR_DISSOLVEFACES_FAILED | |
| BMERR_INVALID_SELECTION | |
| BMERR_MESH_ERROR | |
| BMERR_CONVEX_HULL_FAILED | |
| BMERR_TOTAL | |
Definition at line 57 of file bmesh_error.h.
| void BMO_error_clear | ( | BMesh * | bm | ) |
Definition at line 1570 of file bmesh_operators.c.
References bm, BMO_error_pop(), and NULL.
Referenced by BM_mesh_data_free(), BM_mesh_decimate_dissolve_ex(), bmo_dissolve_faces_exec(), bmo_triangle_fill_exec(), bpy_bm_op_as_py_error(), and BPy_BMO_call().
| int BMO_error_get | ( | BMesh * | bm, |
| const char ** | msg, | ||
| BMOperator ** | op | ||
| ) |
Definition at line 1597 of file bmesh_operators.c.
References bm, err, BMesh::errorstack, ListBase::first, BMOpError::msg, and BMOpError::op.
Referenced by BMO_error_pop(), bpy_bm_op_as_py_error(), and EDBM_op_finish().
| bool BMO_error_occurred | ( | BMesh * | bm | ) |
Definition at line 1591 of file bmesh_operators.c.
References BLI_listbase_is_empty(), bm, and BMesh::errorstack.
Referenced by bmo_dissolve_faces_exec(), bpy_bm_op_as_py_error(), build_hull(), and edbm_bridge_edge_loops_for_single_editmesh().
| int BMO_error_pop | ( | BMesh * | bm, |
| const char ** | msg, | ||
| BMOperator ** | op | ||
| ) |
Definition at line 1614 of file bmesh_operators.c.
References BLI_remlink(), bm, BMO_error_get(), err, BMOpError::errorcode, BMesh::errorstack, ListBase::first, MEM_freeN, BMOpError::msg, and BMOpError::op.
Referenced by BMO_error_clear().
| void BMO_error_raise | ( | BMesh * | bm, |
| BMOperator * | owner, | ||
| int | errcode, | ||
| const char * | msg | ||
| ) |
Definition at line 1577 of file bmesh_operators.c.
References BLI_addhead(), bm, bmo_error_messages, err, BMesh::errorstack, MEM_callocN, and BMOpError::msg.
Referenced by bmo_bisect_plane_exec(), bmo_bridge_loops_exec(), bmo_connect_verts_exec(), bmo_dissolve_faces_exec(), bmo_grid_fill_exec(), and bmo_subdivide_edgering_exec().