[Bf-blender-cvs] [76573584471] master: Cleanup: use doxygen sections
Campbell Barton
noreply at git.blender.org
Tue Feb 22 09:59:47 CET 2022
Commit: 765735844711294a2354521f41464429bed1db7c
Author: Campbell Barton
Date: Tue Feb 22 18:45:14 2022 +1100
Branches: master
https://developer.blender.org/rB765735844711294a2354521f41464429bed1db7c
Cleanup: use doxygen sections
===================================================================
M source/blender/editors/sculpt_paint/curves_sculpt_ops.cc
===================================================================
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);
}
+
+/** \} */
More information about the Bf-blender-cvs
mailing list