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-08-04 14:36:58 +0300
committerBastien Montagne <bastien@blender.org>2020-08-04 14:36:58 +0300
commit5f621a12c6d14d6ec0439992bc0c2590a2bd4760 (patch)
tree7143836d4095c1260f4afee06132ffd72ccabcaa /source/blender/editors/gpencil/gpencil_paint.c
parentca606bf55165881896467f6a5c09e5870c847fbb (diff)
parent701a9d39175e0d3e5e2f776821f1251b8a7a5f78 (diff)
Merge branch 'blender-v2.90-release'
Conflicts: source/blender/editors/gpencil/gpencil_primitive.c
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index d1be99150ae..9ec04bbb553 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -836,7 +836,7 @@ static short gpencil_stroke_addpoint(tGPsdata *p,
}
/* color strength */
- if (brush_settings->flag & GP_BRUSH_USE_STENGTH_PRESSURE) {
+ if (brush_settings->flag & GP_BRUSH_USE_STRENGTH_PRESSURE) {
pt->strength *= BKE_curvemapping_evaluateF(brush_settings->curve_strength, 0, pressure);
CLAMP(pt->strength, GPENCIL_STRENGTH_MIN, 1.0f);
}