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:
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c')
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c
index d7b370ef5e5..28fd8ff01b9 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c
@@ -1003,12 +1003,12 @@ void MOD_lineart_smooth_chains(LineartRenderBuffer *rb, float tolerance)
len2 = len_v2(vec2);
/* Because this smoothing applies on geometries of different scales in the same scene,
* some small scale features (e.g. the "tails" on the inner ring of a torus geometry)
- * could be completely erased if the tolerance value is set for accomondating the entire
+ * could be completely erased if the tolerance value is set for accommodating the entire
* scene. Those situations typically result in (ratio << 0), looks like this:
* 1---2
* 3-------------------------------4
- * (this sort of long zig zag obviously are "features" that can't be erased)
- * setting a ratio of -10 turned out to be a reasonabe threshold in tests. */
+ * (this sort of long zigzag obviously are "features" that can't be erased)
+ * setting a ratio of -10 turned out to be a reasonable threshold in tests. */
if (ratio < len2 && ratio > -len2 * 10) {
/* We only remove p3 if p4 is on the extension of p1->p2. */
if ((eci4 = eci3->next) &&