From 9d3550d7819807064dd39365322295ebd8ea0a09 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 21 Sep 2020 15:17:41 +0200 Subject: Various fixes in UI messages. Along some other typos in comments or variable names. --- source/blender/editors/gpencil/gpencil_vertex_paint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/gpencil/gpencil_vertex_paint.c') diff --git a/source/blender/editors/gpencil/gpencil_vertex_paint.c b/source/blender/editors/gpencil/gpencil_vertex_paint.c index b0dff6589da..c6ee30ad6e3 100644 --- a/source/blender/editors/gpencil/gpencil_vertex_paint.c +++ b/source/blender/editors/gpencil/gpencil_vertex_paint.c @@ -231,8 +231,8 @@ static float brush_influence_calc(tGP_BrushVertexpaintData *gso, const int radiu float distance = (float)len_v2v2_int(mval_i, co); /* Apply Brush curve. */ - float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius); - influence *= brush_fallof; + float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius); + influence *= brush_falloff; /* apply multiframe falloff */ influence *= gso->mf_falloff; @@ -646,7 +646,7 @@ static bool brush_smear_apply(tGP_BrushVertexpaintData *gso, inf *= gso->pressure; } - /* Calc distance from initial sample location and add a fallof effect. */ + /* Calc distance from initial sample location and add a falloff effect. */ int mval_i[2]; round_v2i_v2fl(mval_i, gso->mval); float distance = (float)len_v2v2_int(mval_i, gso->grid_sample); -- cgit v1.2.3