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:
authorJoshua Leung <aligorith@gmail.com>2016-03-27 16:55:59 +0300
committerJoshua Leung <aligorith@gmail.com>2016-03-27 17:21:29 +0300
commita7538b19c6641be5e210a1f8286c5cd4ce945389 (patch)
tree39773304bee6908dd6a3ebb23cd33318d2aa656e /source/blender/editors/gpencil/gpencil_paint.c
parent00cfbeef11c62364e343df27d00fd363f625f2ad (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.c4
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);
}
}