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>2020-10-10 10:19:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-10 14:04:51 +0300
commit2abfcebb0eb7989e3d1e7d03f37ecf5c088210af (patch)
treee7a1ad5912b4661d4ece743f4f7fd86e6bf4d3c4 /source/blender/editors/sculpt_paint/paint_ops.c
parentc735aca42e9f5961fec7e5d5fc196b5bd6b85f56 (diff)
Cleanup: use C comments for descriptive text
Follow our code style guide by using C-comments for text descriptions.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_ops.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c
index 9bf1911aee8..d5745caa66a 100644
--- a/source/blender/editors/sculpt_paint/paint_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_ops.c
@@ -57,7 +57,7 @@
#include "sculpt_intern.h"
#include <string.h>
-//#include <stdio.h>
+// #include <stdio.h>
#include <stddef.h>
/* Brush operators */
@@ -144,7 +144,7 @@ static int brush_scale_size_exec(bContext *C, wmOperator *op)
float scalar = RNA_float_get(op->ptr, "scalar");
if (brush) {
- // pixel radius
+ /* pixel radius */
{
const int old_size = BKE_brush_size_get(scene, brush);
int size = (int)(scalar * old_size);
@@ -161,11 +161,11 @@ static int brush_scale_size_exec(bContext *C, wmOperator *op)
BKE_brush_size_set(scene, brush, size);
}
- // unprojected radius
+ /* unprojected radius */
{
float unprojected_radius = scalar * BKE_brush_unprojected_radius_get(scene, brush);
- if (unprojected_radius < 0.001f) { // XXX magic number
+ if (unprojected_radius < 0.001f) { /* XXX magic number */
unprojected_radius = 0.001f;
}