Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-02-22 10:45:14 +0300
committerCampbell Barton <campbell@blender.org>2022-02-22 11:39:55 +0300
commit765735844711294a2354521f41464429bed1db7c (patch)
treeecb68441a8677dfc103fef737d3d152e9dfb2892 /source/blender/editors/sculpt_paint
parent27427f3447539a006aee264e47c28dbc31a0dbf2 (diff)
Cleanup: use doxygen sections
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/curves_sculpt_ops.cc30
1 files changed, 21 insertions, 9 deletions
diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
index db81adbbbcd..04a14712d03 100644
--- a/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
+++ b/source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
@@ -14,6 +14,10 @@
#include "curves_sculpt_intern.h"
#include "paint_intern.h"
+/* -------------------------------------------------------------------- */
+/** \name Poll Functions
+ * \{ */
+
bool CURVES_SCULPT_mode_poll(bContext *C)
{
Object *ob = CTX_data_active_object(C);
@@ -33,9 +37,11 @@ bool CURVES_SCULPT_mode_poll_view3d(bContext *C)
namespace blender::ed::sculpt_paint {
-/* --------------------------------------------------------------------
- * SCULPT_CURVES_OT_brush_stroke.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name * SCULPT_CURVES_OT_brush_stroke
+ * \{ */
static bool stroke_get_location(bContext *C, float out[3], const float mouse[2])
{
@@ -106,9 +112,11 @@ static void SCULPT_CURVES_OT_brush_stroke(struct wmOperatorType *ot)
paint_stroke_operator_properties(ot);
}
-/* --------------------------------------------------------------------
- * CURVES_OT_sculptmode_toggle.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name * CURVES_OT_sculptmode_toggle
+ * \{ */
static bool curves_sculptmode_toggle_poll(bContext *C)
{
@@ -177,9 +185,11 @@ static void CURVES_OT_sculptmode_toggle(wmOperatorType *ot)
} // namespace blender::ed::sculpt_paint
-/* --------------------------------------------------------------------
- * Registration.
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name * Registration
+ * \{ */
void ED_operatortypes_sculpt_curves()
{
@@ -187,3 +197,5 @@ void ED_operatortypes_sculpt_curves()
WM_operatortype_append(SCULPT_CURVES_OT_brush_stroke);
WM_operatortype_append(CURVES_OT_sculptmode_toggle);
}
+
+/** \} */