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-04-10 09:40:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-10 09:40:49 +0300
commitb9eac0bb44fbb4e8d16a74fab8e0d9bc37bfebd3 (patch)
tree91d2e2dc8c4c5d83c8d45b9b9e4c3799617d7122 /source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
parent0c3500e068ea55d0d67df0de905aaed99b58b8a9 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
index a371d8ec93c..cd366ecff3b 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
@@ -224,8 +224,8 @@ static int weight_sample_invoke(bContext *C, wmOperator *op, const wmEvent *even
vgroup_weight = BKE_defvert_multipaint_collective_weight(
&me->dvert[v_idx_best], defbase_tot, defbase_sel, defbase_tot_sel, ts->auto_normalize);
- /* if autonormalize is enabled, but weights are not normalized,
- * the value can exceed 1 */
+ /* If auto-normalize is enabled, but weights are not normalized,
+ * the value can exceed 1. */
CLAMP(vgroup_weight, 0.0f, 1.0f);
}