diff options
author | Pablo Vazquez <pablo@blender.org> | 2020-04-01 04:52:58 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2020-04-01 04:52:58 +0300 |
commit | b7868c0b890c4c06100b771548ba16a99d4e6eb9 (patch) | |
tree | 33c86de992fc218f0f67fcc24920944e528f0d19 /source | |
parent | 6a1f0c1eaafee3b96563b84e48547ec6ec655fc3 (diff) |
Grease Pencil: Fix typo in labels and comments.
Hardeness -> Hardness
Only changed the labels/tooltips, will leave the internal change to @antoniov.
Diffstat (limited to 'source')
4 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c index 93f3776827b..a1f1519d11f 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c @@ -105,7 +105,7 @@ static void deformStroke(GpencilModifierData *md, return; } - /* Hardeness (at stroke level). */ + /* Hardness (at stroke level). */ if (mmd->modify_color == GP_MODIFY_COLOR_HARDENESS) { gps->hardeness *= mmd->hardeness; CLAMP(gps->hardeness, 0.0f, 1.0f); diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index 75201322094..93f8053058a 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -1346,7 +1346,7 @@ static void rna_def_gpencil_options(BlenderRNA *brna) RNA_def_property_range(prop, 0.001f, 1.0f); RNA_def_property_float_default(prop, 1.0f); RNA_def_property_ui_text( - prop, "Hardeness", "Amount of gradient for Dot and Box strokes (set to 1 for full solid)"); + prop, "Hardness", "Gradient from the center of Dot and Box strokes (set to 1 for a solid stroke)"); RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0); /* gradient shape ratio */ diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 4afa467d2e3..e841813beca 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -1203,7 +1203,7 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "hardeness"); RNA_def_property_range(prop, 0.001f, 1.0f); RNA_def_property_float_default(prop, 1.0f); - RNA_def_property_ui_text(prop, "Hardeness", "Amount of gradient along section of stroke"); + RNA_def_property_ui_text(prop, "Hardness", "Amount of gradient along section of stroke"); RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 6c3f26003fa..34de6b2938b 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, "Hardeness", "Modify stroke hardeness"}, + {GP_MODIFY_COLOR_HARDENESS, "HARDENESS", 0, "Hardness", "Modify stroke hardness"}, {0, NULL, 0, NULL, NULL}, }; @@ -1365,7 +1365,7 @@ static void rna_def_modifier_gpencilopacity(BlenderRNA *brna) RNA_def_property_range(prop, 0.0, FLT_MAX); RNA_def_property_ui_range(prop, 0.0, FLT_MAX, 0.1, 2); RNA_def_property_float_default(prop, 1.0f); - RNA_def_property_ui_text(prop, "Hardeness", "Factor of stroke hardeness"); + RNA_def_property_ui_text(prop, "Hardness", "Factor of stroke hardness"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); prop = RNA_def_property(srna, "pass_index", PROP_INT, PROP_NONE); |