From 9b0d72aa3d1ff94b8b116fb3e9315ba31bd8ce63 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 Apr 2020 10:53:46 +1100 Subject: Cleanup: use sections for object_remesh.c Add missing sections. --- source/blender/editors/object/object_remesh.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/object/object_remesh.c b/source/blender/editors/object/object_remesh.c index 99e9f3034c9..92187bbf0c5 100644 --- a/source/blender/editors/object/object_remesh.c +++ b/source/blender/editors/object/object_remesh.c @@ -92,6 +92,10 @@ /* TODO(sebpa): unstable, can lead to unrecoverable errors. */ // #define USE_MESH_CURVATURE +/* -------------------------------------------------------------------- */ +/** \name Voxel Remesh Operator + * \{ */ + static bool object_remesh_poll(bContext *C) { Object *ob = CTX_data_active_object(C); @@ -203,6 +207,12 @@ void OBJECT_OT_voxel_remesh(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Voxel Size Operator + * \{ */ + #define VOXEL_SIZE_EDIT_MAX_GRIDS_LINES 500 #define VOXEL_SIZE_EDIT_MAX_STR_LEN 20 @@ -590,7 +600,11 @@ void OBJECT_OT_voxel_size_edit(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; } -/****************** quadriflow remesh operator *********************/ +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Quadriflow Remesh Operator + * \{ */ #define QUADRIFLOW_MIRROR_BISECT_TOLERANCE 0.005f @@ -1166,3 +1180,5 @@ void OBJECT_OT_quadriflow_remesh(wmOperatorType *ot) 0, 255); } + +/** \} */ -- cgit v1.2.3