diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-03-27 16:55:59 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-03-27 17:21:29 +0300 |
commit | a7538b19c6641be5e210a1f8286c5cd4ce945389 (patch) | |
tree | 39773304bee6908dd6a3ebb23cd33318d2aa656e /source/blender/editors/gpencil/gpencil_paint.c | |
parent | 00cfbeef11c62364e343df27d00fd363f625f2ad (diff) |
GPencil: Restore ability for Smooth brush to affect pressure values of strokes
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 6f4d65fc09e..740fb8e0096 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -751,10 +751,10 @@ static void gp_stroke_newfrombuffer(tGPsdata *p) gp_subdivide_stroke(gps, sub); } } - /* smooth stroke - only if there's somethign to do */ + /* smooth stroke - only if there's something to do */ if (gpl->smooth_drawfac > 0.0f) { for (i = 0; i < gps->totpoints; i++) { - gp_smooth_stroke(gps, i, gpl->smooth_drawfac); + gp_smooth_stroke(gps, i, gpl->smooth_drawfac, true); } } |