From c097c7b855d4b01950494dc369e9def59486b0fd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Dec 2021 15:49:31 +1100 Subject: Cleanup: correct unbalanced doxygen groups Also add groups in some files. --- .../blender/editors/sculpt_paint/sculpt_detail.c | 34 ++++++++++++++++++---- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_detail.c') diff --git a/source/blender/editors/sculpt_paint/sculpt_detail.c b/source/blender/editors/sculpt_paint/sculpt_detail.c index edbb98b481e..9082408b8dd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_detail.c +++ b/source/blender/editors/sculpt_paint/sculpt_detail.c @@ -57,6 +57,10 @@ #include #include +/* -------------------------------------------------------------------- */ +/** \name Internal Utilities + * \{ */ + typedef struct { const float *ray_start; bool hit; @@ -82,6 +86,12 @@ static bool sculpt_and_dynamic_topology_poll(bContext *C) return SCULPT_mode_poll(C) && ob->sculpt->bm; } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Detail Flood Fill + * \{ */ + static int sculpt_detail_flood_fill_exec(bContext *C, wmOperator *UNUSED(op)) { Sculpt *sd = CTX_data_tool_settings(C)->sculpt; @@ -147,6 +157,12 @@ void SCULPT_OT_detail_flood_fill(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; } +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Sample Detail Size + * \{ */ + typedef enum eSculptSampleDetailModeTypes { SAMPLE_DETAIL_DYNTOPO = 0, SAMPLE_DETAIL_VOXEL = 1, @@ -364,13 +380,17 @@ void SCULPT_OT_sample_detail_size(wmOperatorType *ot) "Target sculpting workflow that is going to use the sampled size"); } -/* Dynamic-topology detail size. +/** \} */ + +/* -------------------------------------------------------------------- */ +/** \name Dynamic-topology detail size * * Currently, there are two operators editing the detail size: - * - SCULPT_OT_set_detail_size uses radial control for all methods - * - SCULPT_OT_dyntopo_detail_size_edit shows a triangle grid representation of the detail - * resolution (for constant detail method, falls back to radial control for the remaining methods). - */ + * - #SCULPT_OT_set_detail_size uses radial control for all methods + * - #SCULPT_OT_dyntopo_detail_size_edit shows a triangle grid representation of the detail + * resolution (for constant detail method, + * falls back to radial control for the remaining methods). + * \{ */ static void set_brush_rc_props(PointerRNA *ptr, const char *prop) { @@ -429,6 +449,8 @@ void SCULPT_OT_set_detail_size(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; } +/** \} */ + /* -------------------------------------------------------------------- */ /** \name Dyntopo Detail Size Edit Operator * \{ */ @@ -759,3 +781,5 @@ void SCULPT_OT_dyntopo_detail_size_edit(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; } + +/** \} */ -- cgit v1.2.3