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:
authorBastien Montagne <bastien@blender.org>2020-09-21 16:17:41 +0300
committerBastien Montagne <bastien@blender.org>2020-09-21 16:18:13 +0300
commit9d3550d7819807064dd39365322295ebd8ea0a09 (patch)
tree7452b19259309b151807db67980a55648a9b0470 /source/blender/editors/gpencil/gpencil_sculpt_paint.c
parenta34e7c3e5d844fd2b9e628534e93892467a7897e (diff)
Various fixes in UI messages.
Along some other typos in comments or variable names.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_sculpt_paint.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_sculpt_paint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_sculpt_paint.c b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
index 7b4af648800..d37e393ac77 100644
--- a/source/blender/editors/gpencil/gpencil_sculpt_paint.c
+++ b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
@@ -271,8 +271,8 @@ static float gpencil_brush_influence_calc(tGP_BrushEditData *gso,
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;