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 <ideasman42@gmail.com>2019-06-24 16:16:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-24 18:08:13 +0300
commitd61a9b297b7f7851f4a4a88e02b3ce2eff812bd2 (patch)
treec60aeefd0b8f02251c258f30dfa0a3869fa8e089 /source/blender/editors/sculpt_paint
parent187c696caee13aaa27ecd03a9c17a0d2af28a938 (diff)
Cleanup: use doxy groups
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.c30
1 files changed, 26 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c
index 7dfe6f4c137..316ae6189f0 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex.c
@@ -79,6 +79,10 @@
#include "sculpt_intern.h"
#include "paint_intern.h" /* own include */
+/* -------------------------------------------------------------------- */
+/** \name Internal Utilities
+ * \{ */
+
/* Use for 'blur' brush, align with PBVH nodes, created and freed on each update. */
struct VPaintAverageAccum {
uint len;
@@ -1100,6 +1104,8 @@ static void vertex_paint_init_session_data(const ToolSettings *ts, Object *ob)
}
}
+/** \} */
+
/* -------------------------------------------------------------------- */
/** \name Enter Vertex/Weight Paint Mode
* \{ */
@@ -1264,7 +1270,9 @@ void ED_object_wpaintmode_exit(struct bContext *C)
/** \} */
-/* *************** set wpaint operator ****************** */
+/* -------------------------------------------------------------------- */
+/** \name Toggle Weight Paint Operator
+ * \{ */
/**
* \note Keep in sync with #vpaint_mode_toggle_exec
@@ -1361,7 +1369,11 @@ void PAINT_OT_weight_paint_toggle(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
}
-/* ************ weight paint operator ********** */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Weight Paint Operator
+ * \{ */
struct WPaintData {
ViewContext vc;
@@ -2464,7 +2476,11 @@ void PAINT_OT_weight_paint(wmOperatorType *ot)
paint_stroke_operator_properties(ot);
}
-/* ************ set / clear vertex paint mode ********** */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Toggle Vertex Paint Operator
+ * \{ */
/**
* \note Keep in sync with #wpaint_mode_toggle_exec
@@ -2527,7 +2543,11 @@ void PAINT_OT_vertex_paint_toggle(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
}
-/* ********************** vertex paint operator ******************* */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name Vertex Paint Operator
+ * \{ */
/* Implementation notes:
*
@@ -3397,3 +3417,5 @@ void PAINT_OT_vertex_paint(wmOperatorType *ot)
paint_stroke_operator_properties(ot);
}
+
+/** \} */