diff options
Diffstat (limited to 'source/blender/bmesh/bmesh_error.h')
-rw-r--r-- | source/blender/bmesh/bmesh_error.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/bmesh/bmesh_error.h b/source/blender/bmesh/bmesh_error.h index d130e18ac76..7afddf65a97 100644 --- a/source/blender/bmesh/bmesh_error.h +++ b/source/blender/bmesh/bmesh_error.h @@ -42,15 +42,16 @@ int BMO_error_occurred(BMesh *bm); int BMO_error_pop(BMesh *bm, const char **msg, BMOperator **op); void BMO_error_clear(BMesh *bm); -#if 0 -//this is meant for handling errors, like self-intersection test failures. -//it's dangerous to handle errors in general though, so disabled for now. +/* this is meant for handling errors, like self-intersection test failures. + * it's dangerous to handle errors in general though, so disabled for now. */ /* catches an error raised by the op pointed to by catchop. * errorcode is either the errorcode, or BMERR_ALL for any * error.*/ -int BMO_error_catch_op(BMesh *bm, BMOperator *catchop, int errorcode, char **msg); -#endif + +/* not yet implimented. + * int BMO_error_catch_op(BMesh *bm, BMOperator *catchop, int errorcode, char **msg); + */ #define BM_ELEM_INDEX_VALIDATE(_bm, _msg_a, _msg_b) \ BM_mesh_elem_index_validate(_bm, __FILE__ ":" STRINGIFY(__LINE__), __func__, _msg_a, _msg_b) |