diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-01 02:53:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-01 03:29:45 +0300 |
commit | 9b0d72aa3d1ff94b8b116fb3e9315ba31bd8ce63 (patch) | |
tree | ec0eb661936758d483ba95b2a8a98c723c127cf3 /source/blender/editors/object | |
parent | 18fc4155fd4299d61789aa0d5b9c1c3f7883636b (diff) |
Cleanup: use sections for object_remesh.c
Add missing sections.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_remesh.c | 18 |
1 files changed, 17 insertions, 1 deletions
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); } + +/** \} */ |