diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-04-01 11:02:04 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-04-01 11:02:04 +0300 |
commit | 59e001cbf6c40f7b8630a995acd9aec315e73501 (patch) | |
tree | c2b3c2b2bb97b103770c2e2b849be1d757fcb72d /source | |
parent | 2ad0ae8dadb7eb1e956b6d6c4583f1fa1f7fba4f (diff) |
GPencil: Cleanup typo error
Diffstat (limited to 'source')
3 files changed, 3 insertions, 3 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); diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index f98ec281011..c3425826d36 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -215,7 +215,7 @@ typedef enum eModifyColorGpencil_Flag { GP_MODIFY_COLOR_BOTH = 0, GP_MODIFY_COLOR_STROKE = 1, GP_MODIFY_COLOR_FILL = 2, - GP_MODIFY_COLOR_HARDENESS = 3, + GP_MODIFY_COLOR_HARDNESS = 3, } eModifyColorGpencil_Flag; typedef enum eOpacityModesGpencil_Flag { diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 34de6b2938b..03b7c643f47 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -144,7 +144,7 @@ static const EnumPropertyItem modifier_modify_opacity_items[] = { {GP_MODIFY_COLOR_BOTH, "BOTH", 0, "Stroke and Fill", "Modify fill and stroke colors"}, {GP_MODIFY_COLOR_STROKE, "STROKE", 0, "Stroke", "Modify stroke color only"}, {GP_MODIFY_COLOR_FILL, "FILL", 0, "Fill", "Modify fill color only"}, - {GP_MODIFY_COLOR_HARDENESS, "HARDENESS", 0, "Hardness", "Modify stroke hardness"}, + {GP_MODIFY_COLOR_HARDNESS, "HARDNESS", 0, "Hardness", "Modify stroke hardness"}, {0, NULL, 0, NULL, NULL}, }; |