D1886: GPencil - Add smooth iterations parameter to get better quality
authorAntonio Vazquez <blendergit@gmail.com>
Sun, 8 May 2016 01:38:54 +0000 (13:38 +1200)
committerJoshua Leung <aligorith@gmail.com>
Sun, 8 May 2016 12:53:51 +0000 (00:53 +1200)
commit9dbe7bbe9a943ffd18fa670c4f68b4f90a6fc773
treed2b62543842dbe02f796cedaa0e6d78f62126b81
parentdc78e47b770b33645f3cda1a4750422cd5105d6b
D1886: GPencil - Add smooth iterations parameter to get better quality

After some test, a new iteration parameter has been added in order to
apply repetitive smoothing to the stroke. By default 1 iteration is applied,
but can used any number between 1 and 3.

The repetition uses different levels of intensity from 100% of the defined smooth
factor for the first loop, 50% for the second and 25% for the third. We use in each
loop a smaller value in order to avoid deform too much the stroke.
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenkernel/intern/gpencil.c
source/blender/blenloader/intern/versioning_270.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/makesdna/DNA_gpencil_types.h
source/blender/makesrna/intern/rna_gpencil.c