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:
authorAntonio Vazquez <blendergit@gmail.com>2020-04-01 11:02:04 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-04-01 11:02:04 +0300
commit59e001cbf6c40f7b8630a995acd9aec315e73501 (patch)
treec2b3c2b2bb97b103770c2e2b849be1d757fcb72d /source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
parent2ad0ae8dadb7eb1e956b6d6c4583f1fa1f7fba4f (diff)
GPencil: Cleanup typo error
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
index a1f1519d11f..5ca99be0dff 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c
@@ -106,7 +106,7 @@ static void deformStroke(GpencilModifierData *md,
}
/* Hardness (at stroke level). */
- if (mmd->modify_color == GP_MODIFY_COLOR_HARDENESS) {
+ if (mmd->modify_color == GP_MODIFY_COLOR_HARDNESS) {
gps->hardeness *= mmd->hardeness;
CLAMP(gps->hardeness, 0.0f, 1.0f);