[Bf-blender-cvs] [8de1e8b5fe1] greasepencil-object: Cleanup: Fix comments typo
Antonio Vazquez
noreply at git.blender.org
Thu Sep 26 16:35:49 CEST 2019
Commit: 8de1e8b5fe1e2650e10efae2c66236370cfd74df
Author: Antonio Vazquez
Date: Thu Sep 26 16:29:01 2019 +0200
Branches: greasepencil-object
https://developer.blender.org/rB8de1e8b5fe1e2650e10efae2c66236370cfd74df
Cleanup: Fix comments typo
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 0e986902d79..888158a469d 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -722,11 +722,11 @@ static void gp_smooth_fake_segments(tGPsdata *p)
doit = true;
}
/* If detect control point after fake points, select a segment with same length in both sides,
- * except if is more than stroke length. */
+ * except if it is more than stroke length. */
if ((doit) && (!is_fake)) {
if (i + (i - from_idx) < gpd->runtime.sbuffer_used - 1) {
to_idx = i + (i - from_idx);
- /* Smooth this segments (need loop to get acumulative smooth). */
+ /* Smooth this segments (need loop to get cumulative smooth). */
for (int r = 0; r < 10; r++) {
gp_smooth_segment(gpd, 0.1f, from_idx, to_idx);
}
More information about the Bf-blender-cvs
mailing list