diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-22 07:48:01 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-22 07:54:01 +0300 |
commit | 4d66cbd140b1648b79df0df695046cb718797b70 (patch) | |
tree | 945b1093ba250ad57611f44bda7ca0b8a31a0211 /source/blender/gpencil_modifiers/intern | |
parent | 77061a5621015dfd0c9f89fd21cb23d706d0cec8 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencillength.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c index e4a48925bf0..80b60547e92 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c @@ -140,8 +140,8 @@ static void applyLength(LengthGpencilModifierData *lmd, bGPdata *gpd, bGPDstroke /* HACK: The second #overshoot_fac needs to be adjusted because it is not * done in the same stretch call, because it can have a different length. * The adjustment needs to be stable when - * ceil(overshoot_fac*(gps->totpoints - 2)) is used in stretch and never - * produce a result highter than totpoints - 2. */ + * `ceil(overshoot_fac*(gps->totpoints - 2))` is used in stretch and never + * produce a result higher than `totpoints - 2`. */ const float second_overshoot_fac = lmd->overshoot_fac * (totpoints - 2) / ((float)gps->totpoints - 2) * (1.0f - 0.1f / (totpoints - 1.0f)); |