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_intern.h | |
parent | 00cfbeef11c62364e343df27d00fd363f625f2ad (diff) |
GPencil: Restore ability for Smooth brush to affect pressure values of strokes
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index d6d9d7cb347..c3fafaae9c3 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -128,19 +128,19 @@ void gp_stroke_delete_tagged_points(bGPDframe *gpf, bGPDstroke *gps, bGPDstroke /** - * Apply smooth to stroke - * - * \param gps Stroke to smooth - * \param i Point index - * \param inf Smooth factor -*/ -bool gp_smooth_stroke(bGPDstroke *gps, int i, float inf); + * Apply smooth to stroke point + * \param gps Stroke to smooth + * \param i Point index + * \param inf Amount of smoothing to apply + * \param affect_pressure Apply smoothing to pressure values too? + */ +bool gp_smooth_stroke(bGPDstroke *gps, int i, float inf, bool affect_pressure); /** * Subdivide a stroke * \param gps Stroke data * \param new_totpoints Total number of points -*/ + */ void gp_subdivide_stroke(bGPDstroke *gps, const int new_totpoints); /* Layers Enums -------------------------------------- */ |